How do I autoupdate a date on a form when a record changes?

A

Allen Browne

Use the BeforeUpdate event procedure of the form, e.g.:

Private Sub Form_BeforeUpdate(Cancel As Integer)
Me.[MyDateField] = Now()
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top