I know how to datestamp a report when it is run (using the Now() function) but I also want to show which version of a report (or form) has been used. To do this I want to use the "modified" field that appears in the main database window and in the report or form properties.
I tried using this to populate a text box called 'RevisedDate'
Code:
Dim strFDate As String
strFDate = "20/Dec/2012" ' this works fine
' strFDate = Me.Properties.Modified ' this doesn't work
Me.RevisedDate.Caption = "Format revised: " & strFDate
The hard-code version works fine but I can't figure out the syntaxt for the second version.
Is there a way to capture these properties?