IPersonsEOF Property |
Namespace: SuperOffice.COM.SuperOfficeDB
Boolean
True when the end of the iteration is reached
False as long as there are more
EOF
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
This will return the surname on all person in the collection.
Dim objSO Dim Per Dim Pers Set objSO = CreateObject("SuperOffice.Application") If not (objSO is nothing) Then set Pers = objSO.CurrentContact.GetPersons() Per = Pers.GetFirst() While Not Pers.EOF msgbox Per.LastName Per = Pers.GetNext() wend msgbox "No contact persons.", vbInformation, "SuperCOM" else MsgBox "Unable to connect to database" end if Set objSO = Nothing