Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get Network User Name?

Status
Not open for further replies.

sonso

Programmer
Oct 16, 2002
49
0
0
US
Is there a built-in function that returns the network log-in name? I am using Access 97 and want to put the username in the table whenever a record is changed.
 
Sonso:

Try using [CurrentUser]; works with Windows NT.

Larry De Laruelle
ldelaruelle@familychildrenscenter.org

 
This might be of some help.

thread181-458974

Hope this helps you.

Jon
 
Actually, CurrentUser returns Admin, which I believe is the Access default login. The network user name is returned by the Environ("UserName") code. Now, how do I put this at the record level (as opposed to the field level) when I've placed a bunch of fields on a data entry field? I can't seem to find a record level container...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top