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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to change DateEdited in form to current date

Status
Not open for further replies.

toni3

Technical User
Apr 21, 2003
6
US
I am trying to change the DateEdited field to the current date when any data changes in the record. The property in the form for the field has an input mask 99/99/000;0;_ and AfterUpdate is =Now(). The table Default for this field is the same. It isn't working. Any help?
 
shouldn't it be 00/00/0000;0;_

Hope this helps
Hymn
 
Thank you. I did change the input to zeros, but still don't get the change of date.
 
Hi!

You need to do this in code. In the form's Before Update event procedure use:

Me!DateEdited = Now()

hth


Jeff Bridgham
bridgham@purdue.edu
 
Thank you, thank you Jebry

The current date now works in the form!!

Toni
 
Hi Toni!

Quite welcome!

:)


Jeff Bridgham
bridgham@purdue.edu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top