Record of last modifying person

D

Daryl Au

How can the database record and show the login-name that last modifies a record

For example, if "Daryl" is the last one modifying a record, there is a field showing on the form that "Daryl" is the last person modifying the record

Thank you so much
 
C

Cheryl Fischer

If you have implemented Access Security on your database, you can use the
following in the Control Source of your form's textbox:

=CurrentUser

Otherwise, copy the code found at:

http://www.mvps.org/access/api/api0008.htm

into a module and use the following in the Control Source of your form's
textbox:

=fOSUserName()


hth,

--

Cheryl Fischer, MVP Microsoft Access
Law/Sys Associates, Houston, TX


Daryl Au said:
How can the database record and show the login-name that last modifies a record?

For example, if "Daryl" is the last one modifying a record, there is a
field showing on the form that "Daryl" is the last person modifying the
record.
 

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