May 11, 2006 #1 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
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
May 11, 2006 #2 PHV MIS Nov 8, 2002 53,708 FR 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 Upvote 0 Downvote
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