DateModified Property

Microsoft Access Visual Basic

DateModified Property

       

Returns a Date indicating the date and time when the design of the specified object was last modified. Read-only.

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