DateModified Property

Microsoft Access Visual Basic

expression.DateModified

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

The following example lists all the reports in the current database and when their designs were created and modified.

Dim acobjLoop As AccessObject

For Each acobjLoop In CurrentProject.AllReports
    With acobjLoop
        Debug.Print .Name & " - Created " & .DateCreated _
            & " - Modified " & .DateModified
    End With
Next acobjLoop