Discussion Locked

Access 2000 User tracking

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Can you please advise me on how to keep track of which user is doing changes into an Access 2000 database. I can keep track of the date the data is change but I would like to keep track of who is doing changes, updates or data entry?

3 replies

by glen_mcleod

2 ways:

1. Use a workgroup file and user level security. This forces the user to log in to your application, then you can identify the user through native Access/VBA code using 'Workspaces(0).UserName'. If you don't use a workgroup file then this command always returns 'admin'.

2. Use the 'GetUserName' API call. this will return the username of the person currently logged into Windows, if your Windows setup requires a logon.

Glen

This discussion is closed to new replies.