Click or drag to resize

IRelationCreatedDate Property

The date the object was saved to the database. The date and time the relation was first created

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

Property Value

Type: DateTime
Date – formatted as short date format and time format, from the control panel.

Implements

IModelBaseCreatedDate
Examples

CreatedDate

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