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

How do I automatically update a date field.

Status
Not open for further replies.

jimpeg

IS-IT--Management
Oct 30, 2000
4
US
I would like to ba able to automatically fill in the current date whenever I add or update a record on a form. There should be a simple way to do this, but I haven't had any luck yet. I am new to Access, so the more specific the better. Thanks, all.
 
Go to Design View, Field Date Properties, Tab Data, Go to Default Value, and type like =Date().
i hope this can help u.
 

Setting the default will only affect the record upon Insert. When you update the record you'll need to Set the date field with DATE().

Update tbl Set TblDate=date()
Where <criteria> Terry Broadbent
Please review faq183-874.

&quot;The greatest obstacle to discovery is not ignorance -- it is the illusion of knowledge.&quot; - Daniel J Boorstin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top