D
duncanjx
Recording the date and time when a record is modified in Access
Create a macro named LastModified and set its action and item
arguments as described in the following table: Action
Item Expression
SetValue [DateModified] Date()
SetValue [TimeModified] Time()
Set the BeforeUpdate property of the form to LastModified (the name of
the macro).
...................................................................................................................
It does not work for me and I am trying to work out why not.
I have DataModified and TimeModified as fields on my form. I have set
the BeforeUpdate property on the form.
I get an error message, "The object doesn't contain the Automation
object 's' ".
Don't know why not?
Cheers
Create a macro named LastModified and set its action and item
arguments as described in the following table: Action
Item Expression
SetValue [DateModified] Date()
SetValue [TimeModified] Time()
Set the BeforeUpdate property of the form to LastModified (the name of
the macro).
...................................................................................................................
It does not work for me and I am trying to work out why not.
I have DataModified and TimeModified as fields on my form. I have set
the BeforeUpdate property on the form.
I get an error message, "The object doesn't contain the Automation
object 's' ".
Don't know why not?
Cheers