date stamp a record

  • Thread starter Thread starter Heidi
  • Start date Start date
H

Heidi

I have a subform which pulls up certain data to be
modified from a large table. I have a field in the large
table called dtmDateMofified. Each time a person pulls up
a record and modifies it in some way using the subform, I
need the dtmDateModified to change to the current date. I
think this needs to be done in code, but not sure what to
write and where. Can anyone help???
 
Assuming your date modifed control on the fomr is txtDateMod

In the BeforeUpdate Event of txtDateMode:

txtDateMode = date()
 

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

Back
Top