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!

Date

Status
Not open for further replies.

avaffa

Programmer
Jun 22, 2001
86
US
How can I display the current date automatically after I update each record to show the revision date? Also, how can display the date when I first entered someone into the database automatically (but I don't want the date to change each time I access or update someone's record)??? I have two date fields that I wish to customize.
 
Avaffa:

Sounds like you are almost there.

Do you have a command button to Add a record?

If so, simply do an assignment:

DateCreated = Date() in the add's On_Click event.

(Where DateCreated is the name of the storage field where you want the date to be.)

Does that answer your question?
Larry De Laruelle
larry1de@yahoo.com

 
also on the beforeupdate of the form you could add:

dateRevised = date()

Nick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top