Add a field to the table with the Date/Time datatype and set its
DefaultValue to:
= Now()
Set the format to "General Date"
When a record is added, the field will update to the current timestamp
automatically because of its default value.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads: http://www.datastrat.com http://www.mvps.org/access
Open any code window (Use Ctrl+G to open a blank debug window if there is no
code) On the menu go to the Debug item and try to compile your database. It
will throw an error if the references aren't correct. Clear the error and go
to Tools ... References. At least 1 will be marked "MISSING". You may be
able to simply uncheck it, but more likely you'll need to read the file it's
supposed to be by selecting it. Then use the Browse button to go find that
file.
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.