auto add last modified

P

Porthale

Hi folks

Really could use some help here, I have an access 2000 database, I need
it to automatically add a date to the "lastupdate" field when a record
is modified.

Any help would be greatly appriciated.

I can email the database if needed.

Cheers
Darren
 
N

Naresh Nichani MVP

Hi:

If updates are done via a form you could trap the Form_BeforeUpdate event
and write code like this --

Me.DateLastUpdate = VBA.Now()


This assumes you have a Date/Time field called DateLastUpdate in the table
bound to form.

Regards,

Naresh Nichani
Microsoft Access MVP
 

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