IDatabaseGetAssociateList Method |
Namespace: SuperOffice.COM.SuperOfficeDB
Retrieve the associate with id = 12
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
dim objso dim objassoc set objso = CreateObject("superofficedb.database") If not (objSO is nothing) then objso.login "<username>", "<password>" set objassoc = objso.getassociate (12) msgbox objassoc.fullname else msgbox "unable to connect to database" end if set objso = nothing
Get list of associates
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
dim objso dim objassocs set objso = CreateObject("superofficedb.database") If not (objSO is nothing) then objso.login "<username>", "<password>" set objassocs = objso.getassociatelist() for each item in objassocs msgbox item.fullname next else msgbox "unable to connect to database" end if set objso = nothing