|
![]()
Keeping track of who is logged into a DatabaseIf you wish to do this, then you will need to create a table, such as tblUser, that has the required fields including UserName. You may also wish to include the time that the user starts using the database as well. In a database that has been split, this table should be placed in the back-end database. You will need to create a form that is loaded when the database starts, and remains hidden. In the OnLoad event for the Form, you will add a record to the table, and in the OnUnload event you will delete that record. If you are not using Access security, then you can get the user's OS login name using an API call, as shown at The Access Web.
Copyright & Disclaimer | |||||||||||||
| Last modified at 06/06/2006 13:57:18 | ||||||||||||||