How can you get MS Access to add the date to a date field automatically?
How can you get MS access to add the date to a date field automatically? I want it so when I put data into the table i want it so my date field automatically puts the date it was entered into the date field.
1. Go into Design Mode on the table.
2. Create a new field in that table.
3. Give it a data type of Date/Time
4. On the general properties of that field (below) find the Default Value entry and add this:
Now()
That’s it, each time a row is written to that table it will be time stamped with the date and time of day.
HTH,
aaron
February 17th, 2010 at 5:52 pm
http://www.google.ie/search?q=sql+date+functions&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
References :
February 17th, 2010 at 6:09 pm
1. Go into Design Mode on the table.
2. Create a new field in that table.
3. Give it a data type of Date/Time
4. On the general properties of that field (below) find the Default Value entry and add this:
Now()
That’s it, each time a row is written to that table it will be time stamped with the date and time of day.
HTH,
aaron
References :