IPhonesEmpty 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 phones collection on the current contact has any phones in it.
Dim objSO Set objSO = CreateObject("SuperOffice.Application") If not (objSO is nothing) Then if objSO.CurrentContact.Urls.Empty then MsgBox "The current contact has no phone numbers registered� else MsgBox �The current contact has one or more phone numbers registered� End if else MsgBox "Unable to connect to database" end if Set objSO = Nothing