On this board I've found some really cool code for creating user login forms and tracking/auditing, however I can't find out how (if possible) to record the action of a logged in user name and not the logged in user's workstation name.
For example an Access database has a user called jdoe and this user is opening the database on a workstation with the username janetdoe and the computer name DS-J1D-DT. When the user enters a new record I want to record the Access log in username jdoe and not her workstation username or computer name.
The only way I can see this being done is when the user opens the database and logs in, a global variable is set to the user's login name, and then when the record is added the table's field uses the global variable's value. Is there another cleaner way?
For example an Access database has a user called jdoe and this user is opening the database on a workstation with the username janetdoe and the computer name DS-J1D-DT. When the user enters a new record I want to record the Access log in username jdoe and not her workstation username or computer name.
The only way I can see this being done is when the user opens the database and logs in, a global variable is set to the user's login name, and then when the record is added the table's field uses the global variable's value. Is there another cleaner way?