Click or drag to resize

ISelectionCompanyUnique Property

Only one person from a company may be selected as a member If Company is unique is checked in the selection, only one person from a company may be selected as a selection member.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
bool CompanyUnique { get; set; }

Property Value

Type: Boolean

Boolean

True the "Company is unique" is checked.

False a company may have more than one contact person as selection members on this selection.

Examples

CompanyUnique

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.

VB
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

See Also