Date Modified for a Record

P

Paul

Hi
I am new to Access, is there any way to create a modify date field for a
record when the overall record is modified?

Paul
 
G

golfinray

If you are using a form, put a command button on the form to save the changes
on the form, then right click on the command button, go to properties,
events, go to the event ccreated by the command button and add the follwoing
line:
Me.Last_updated = Now()
Add a column to your table that has a date datatype and call it Last_updated.
 
P

Paul

I am using a form, but the users have access to the DB tables also. Is there
any way to do this at the DB level?

Paul
 
F

Fred

The short answer is no.

On multi-user application, 90% (developers say 100%) of the time it's best
to confine user input to forms. This is one example of a reason for that
90%/100%.
 
J

John W. Vinson

I am using a form, but the users have access to the DB tables also. Is there
any way to do this at the DB level?

In SQL/Server with an update trigger, yes; in an Access database table,
unfortunately no.
 

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