Click or drag to resize

IRelationUpdatedAssociate Property

The last user to modify the object The last associate that updated this relation object. If the relation 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 relation

Implements

IModelBaseUpdatedAssociate
Examples

UpdatedAssociate

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
    set relation = objSO.CurrentRelation
    msg = "The internal identity = " & relation.identity & vbCrLf
    msg = msg & "Originally made by: " & relation.CreatedAssociate.Fullname & vbCrLf
    msg = msg & "when: " & relation.CreatedDate & vbCrLf
    msg = msg & "Changed by: " & relation.UpdatedAssociate.Fullname & vbCrLf
    msg = msg & "when: " & relation.UpdatedDate & vbCrLf
    msgbox msg, vbInformation + vbOkOnly, "Current relation: "
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also