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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access user - display in code

Status
Not open for further replies.

mrsbean

Technical User
Jul 14, 2004
203
US
I want to user the Access user name in some code. How can I refer to it? I want to record the username of an individual who adds a record.

Thanks in advance,


MrsBean
 
A starting point:
MsgBox "DB user=" & CurrentUser & ", Win user=" & Environ("UserName")

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top