Audit

M

Mary M

We currently have a field in a form that is updated each time a user enters
the form. The field has Me!FIELDNAME = Date. in the before update event.

I would like to do the same thing, but to another table. I was hoping to
create a table that had Date, Name of person logged in, and the primary key
field and have the table updated each time someone accesses a record.

I have a couple of questions:

1. How can I get the network user name of the person into the table?

2. How can I copy the current primary key to the new table and same record
as the name and date?

What would the code be to do this and in which event should it happen?

Basically, I'm looking to create a table that shows who was in the db, when
and what they did.

Any help would be greatly appreciated.

Many thanks in advance.
 

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