Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<b>Add Date/Time Stamp when recordset updated</b>

Status
Not open for further replies.

crjo

Programmer
Jul 3, 2001
15
US
I have a field (EditDate) and I would like it to record the Date & Time when recordset data has been edited/changed.
 
Hi
If you are updating your table from a bound form, in the before update event:

EditDate = Date()

or if you want date and time

EditDate = Now()

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
As usual, the obvious solution is the simplest:

Private Sub SomeField_AfterUpdate()
Me.EditDate.Value = Now()
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top