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!

Automatically enter todays date

Status
Not open for further replies.

Oberion

Technical User
Mar 8, 2003
1
GB
I'm a real newbie with Access. Can someone tell me, in nice simple terms, how to make Access automatically enter todays date into a field in a form?
 
In Form Design view, open the property sheet for the control you want to set the date in.

In the control's Default Value property, type =Date()

This will enter the Date into the field whenever a new record is added.

If you want to add the Date AND the Time, use =Now()

See the following topics in the Access On-line Help file for more info.

About defining a default value that is automatically entered in a field or control
Set a default value for a field or control
Examples of default values in fields


HTH
Lightning
 
In the Table design view, for the date field, make the default value to Now(). Then in any form based on that table, or any new record added to the table in datasheet view, or append query that adds records, they all get the date and time the records were added to the table. The date and time allows you to see the order that the records were added. You can format the date field so that only the date shows.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top