Grabbing User Login ID within Access field

Fozi

Registered User.
Local time
Today, 20:36
Joined
Feb 28, 2006
Messages
137
I'm looking to write an audit control module which captures users activity on my system. For each activity the system records user name and date/time of update.

Ideally I'd like the user name fields to autofill with the users network login ID.

Any tips would be much appreciated.
:)
 
Searching the forum is a great way to discover and learn the answers to your Access programming questions.

How about using an Audit Trail

Also, you need quotes around the Environ variable...

Code:
Msgbox Environ("UserName")
Msgbox Environ("ComputerName")
 

Users who are viewing this thread

Back
Top Bottom