Click or drag to resize

IDocumentAttention Property

Attention Attention is shown in the Document dialog as the person the document is written to. This must be a contact person registered for the current contact, but it does not mean however that a contact person is required in order to write a document

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

Property Value

Type: String
String – The full name of the contact person, if the information is entered
Examples

Attention

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.CurrentDocument.Attention
    If result <> "" then
        MsgBox "Current document attention is: " & objSO.CurrentDocument.Attention, vbInformation + vbOKOnly, "SuperCOM"   
    Else
        MsgBox "Current document does not have a contact person in the document attention", vbInformation + vbOKOnly, "SuperCOM"
    end if
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also