ISelectionCompanyUnique Property |
Namespace: SuperOffice.COM.SuperOfficeDB
Boolean
True the "Company is unique" is checked.
False a company may have more than one contact person as selection members on this selection.
CompanyUnique
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
Dim objSO Dim result Set objSO = CreateObject("SuperOffice.Application") If not (objSO is nothing) Then result = ObjSO.CurrentSelection.CompanyUnique if result = false then MsgBox "The current selection is not marked with Company is Unique. You may add more than one contact person from a company as selectionmembers.", vbInformation + vbOKOnly, "SuperCOM" else MsgBox "The current selection is marked with Company is Unique", vbInformation + vbOKOnly, "SuperCOM" end if else MsgBox "Unable to connect" end if set objSO = Nothing