enter current date automatically

N

nikki169

h
i have created a table in access which requires the current date to be automatically entered when a new record is created
can anybody help please? anything will be appreciated, and asap, as this is for a college project due in in 3 days! thanQ :)
 
A

Arvin Meyer

nikki169 said:
hi
i have created a table in access which requires the current date to be
automatically entered when a new record is created.
can anybody help please? anything will be appreciated, and asap, as this
is for a college project due in in 3 days! thanQ :)

Just set the field's DefaultValue property to:

=Date()

That's it! You don't need to even include the field in the form or query
because it will be automatically generated. If you doo put it in the form,
lock the text box so no one can change it.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top