IInterestsEmpty Property |
Namespace: SuperOffice.COM.SuperOfficeDB
Empty
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
This will test if the Interests collection on the contact has any company interests in it.
Dim objSO Dim contact Set objSO = CreateObject("SuperOffice.Application") If not (objSO is nothing) Then if objSO.CurrentContact.Interests.Empty then MsgBox "The current contact has no active interests� else MsgBox �The current contact has one or more active company interests� End if else MsgBox "Unable to connect to database" end if Set objSO = Nothing