ISCDOTransaction.ModifiedOn

Description

The date and time the CDO transaction was last modified.

Syntax

object.ModifiedOn

Part Attribute Type Description
object Required
The object always implements the ISCDOTransaction interface
Restriction: This property is readonly.

Return Value

DateTime

Example

Display some information about the CDO transactions, including the dates and time they were last modified.

Dim aPatient
Dim aFilter 
Dim aCDOTransactions, aCDOTransaction
Dim aMessage
Dim i

Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreateCDOTransFilter
aFilter.PatientId = aPatient.Id
set aCDOTransactions = Profile.LoadCDOTransactions(aFilter)

aMessage = "CDO Transactions Count = " & aCDOTransactions.Count & vbNewLine
for i = 0 to aCDOTransactions.Count - 1
  set aCDOTransaction = aCDOTransactions.Item(i)
  aMessage = aMessage & vbNewLine & (i + 1) & ") " &_
    "Created on: " & aCDOTransaction.CreatedOn & vbNewLine &_
    "     Code: " & aCDOTransaction.Code & vbNewLine &_
    "     ID: " & aCDOTransaction.ID & vbNewLine &_
    "     GUID: " & aCDOTransaction.GUID & vbNewLine &_
    "     DisplayDate: " & aCDOTransaction.DisplayDate & vbNewLine &_
    "     Modified On: " & aCDOTransaction.ModifiedOn & vbNewLine &_
    "     Modified By: " & aCDOTransaction.ModifiedBy.FullName & vbNewLine   
next    

Profile.MsgBox(aMessage) 
Note:

In Profile Client v8 on User Interface Modified On cannot be found.

Version information

Added in v7.9.1