IDocumentIdentity Property |
The primary key on the primary table. Is zero for new objects. Is set when an object is saved.
The document’s identity is its unique internal identity. Note that all document records will have a corresponding appointment_id, See the database manual for more information regarding appointments and documents
Namespace:
SuperOffice.COM.SuperOfficeDB
Assembly:
SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
SyntaxReadOnly Property Identity As Integer
Get
Dim instance As IDocument
Dim value As Integer
value = instance.Identity
property int Identity {
int get ();
}
Property Value
Type:
Int32Long - The database internal ID of the document (document_id)
Implements
IModelBaseIdentity
ExamplesIdentity
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
MsgBox "Current document document_id is: " & objSO.CurrentDocument.identity, vbInformation + vbOKOnly, "SuperCOM"
else
MsgBox "Unable to connect to database"
end if
Set objSO = Nothing
See Also