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

automatic input and revision dates

Status
Not open for further replies.

AndyTilia

Technical User
Jul 25, 2001
19
0
0
US
Hello-- I'm trying to find a way to use the date() function and OnClose-like events to automatically fill a field for "original input date" and "last revision date" (the first date 'sticks' when record is created, the second is revised with current date every time the record is updated).

Thanks for any suggestions!

Andy
 
Use the afterinsert event and afterupdate event on the form to accomplish this instead

Private Sub Form_AfterInsert()
[Dateinput] = Date
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top