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
Syntaxstring Attention { get; set; }
Property Attention As String
Get
Set
Dim instance As IDocument
Dim value As String
value = instance.Attention
instance.Attention = value
property String^ Attention {
String^ get ();
void set (String^ value);
}
Property Value
Type:
StringString – The full name of the contact person, if the information is entered
ExamplesAttention
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.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