Click or drag to resize

IDocumentType Property

Type distinguishes different kinds of documents: 4 = document, 8=draft, 9=mergedoc All documents have a record in the appointment table with a document_id > 0. This property returns the type value as recorded in the appointment table. All documents have type = 4

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

Property Value

Type: Int32
Long – type of appointment
Examples

Type

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 "The type of current document: " & objSO.CurrentDocument.Type, vbInformation + vbOKOnly, "SuperCOM"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also