Changing Field Value when saving

R

Rob Sorfleet

I have just started using access for creating screens to
use with databases. I have a field that holds a date value
which I would like to update with present day's date. The
field isn't part of the form, but I would like it to be
automaticaly updated when the save button is clicked on
the form. I have searched through the help file but to no
avail. Any help would be of great value to me.
 
H

Hugh O'Neill

Rob said:
I have just started using access for creating screens to
use with databases. I have a field that holds a date value
which I would like to update with present day's date. The
field isn't part of the form, but I would like it to be
automaticaly updated when the save button is clicked on
the form. I have searched through the help file but to no
avail. Any help would be of great value to me.


In the Default Value property of the Field in the Table design, put:

=Now()

This will put the current date/time into that Field whenever you create
a new record in that Table.

hth

Hugh
 

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