Capturing NT login

  • Thread starter Thread starter Norbert
  • Start date Start date
N

Norbert

Is there a way to capture in Access VBA code
the users Login?

thank you.
 
By user's login do you mean their Access login name? If so put
=CurrentUser() into the ControlSource of a textbox.

If you mean their network login name, there is code at
http://www.mvps.org/access/api/api0008.htm
you can use to retrieve that. Put the code into a Module, and set the
controlsource of the textbox to
=fOSUserName()
 

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

Back
Top