On Sun, 6 Feb 2005 17:23:02 -0800, "Yasas de Silva" <Yasas de
How do I set up an automatic date and time field in Access which updates upon
changes to the record?
You'll need to do all changes to the data using a Form. Table
datasheets have no usable events.
Given this, just add a date/time field to the table, let's call it
ChangeTimestamp, and use VBA code in the Form's BeforeUpdate event:
Private Sub Form_BeforeUpdate(Cancel as Integer)
<any record validation code here>
Me!ChangeTimestamp = Now
End Sub
John W. Vinson[MVP]