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

Add timestamp to a record whit a add commandbutton

Status
Not open for further replies.

lholgerg

Technical User
Mar 12, 2001
15
DK
I have form that contains a subform where there are a lot of text fields and dropdown menues. in the buttom of the form I have a button that add's the record and gets the next one, but this button should also add a timestamp to the record.

Thanks
 
Hi Iholgerg:
Go to the table where your forms records are from. Find your date/time field, and set its default value to Now().
Any new record will therefore by default, take the time from your computers clock and you won't have to touch a key! Gord
ghubbell@total.net
 
Thanks it works great, but not when my tabels are a link to a MSSQL server where the Now() command does not exist.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top