I have searched the forums for the answer to my question, but I can't quite seem to find what I need.
I have created a secure database (using the Wizard) and the security features seem to be working fine. However, for tracking/usage monitoring purposes, I now need to track the activtiy of the database users. This tracking is very simple - I only need to record the user ID, date/time logging in, and date/time logging out.
Many of the threads I have found involve tracking changes to data. I don't need to know this level of detail, just user, and date/time logging in and out. I want to be able to store this information in a table for reference purposes.
I had hoped to set up something that would write to a "User" table when my (unbound) switchboard form was opened/closed. I tried to create a simple table, with a User field, login field, and logout field. However, at this point I'm confused about how to capture the user's ID and login/logout information. I tried to use the switchboard form's On Open and On Close events and use =CurrentUser and =Now() in some simple code, but I apparently didn't do this correctly.
Can anyone assist me? Thanks!
I have created a secure database (using the Wizard) and the security features seem to be working fine. However, for tracking/usage monitoring purposes, I now need to track the activtiy of the database users. This tracking is very simple - I only need to record the user ID, date/time logging in, and date/time logging out.
Many of the threads I have found involve tracking changes to data. I don't need to know this level of detail, just user, and date/time logging in and out. I want to be able to store this information in a table for reference purposes.
I had hoped to set up something that would write to a "User" table when my (unbound) switchboard form was opened/closed. I tried to create a simple table, with a User field, login field, and logout field. However, at this point I'm confused about how to capture the user's ID and login/logout information. I tried to use the switchboard form's On Open and On Close events and use =CurrentUser and =Now() in some simple code, but I apparently didn't do this correctly.
Can anyone assist me? Thanks!