Click or drag to resize

IDocumentContact Property

Contact this document refers to. The contact the document is written to. The document record is saved under this company in the CRM 5 client

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

Property Value

Type: SOContact
SOContact - object containing the company this document is written to
Examples

Contact

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

VB
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    MsgBox "Current document is written to: " & objSO.CurrentDocument.contact.name, vbInformation + vbOKOnly, "SuperCOM"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also