Click or drag to resize

IDocumentUpdatedAssociate Property

The last user to modify the object The last associate that updated this document. If the document has never been updated, this will return 0

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
SOAssociate UpdatedAssociate { get; }

Property Value

Type: SOAssociate
SOAssociate – object containing the last editor of the document

Implements

IModelBaseUpdatedAssociate
Examples

UpdateAssociate

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.updatedassociate.identity   
    if result = 0 then
        msgbox "the current document has never been updated!", vbinformation +  vbokonly, "supercom"
    else
        msgbox "current document was last updated by: " & _
        objso.currentdocument.updatedassociate.fullname, vbinformation +  vbokonly, "supercom"
    end if
else
    msgbox "unable to connect to  database"
end if
set objso = nothing

See Also