A
AccessHelp
Good morning,
I have a table (Table A) for which I created to keep track of who has been
logging in and out of the database. In the table, I have 3 fields: LogInBy,
LogInTime and LogOutTime.
I would like the database to keep track of who (LogInBy) and when
(LogInTime) in that table when a user is logging in and the database is
opened. At the same time, when the user leaves the database, I would like
the database to have the time populated in the LogOutTime field on the same
record as LogInBy and LogInTime. For example, when I log in to the database,
the database will create a new record (Record 3) in Table A, and when I leave
the database, the database will populate the time in the LogOutTime field of
Record 3.
Should I use the Append query in On Load event of the Main Menu form? If I
do that, a new record will be created whenever the users return to the Main
Menu from other forms.
Thanks.
I have a table (Table A) for which I created to keep track of who has been
logging in and out of the database. In the table, I have 3 fields: LogInBy,
LogInTime and LogOutTime.
I would like the database to keep track of who (LogInBy) and when
(LogInTime) in that table when a user is logging in and the database is
opened. At the same time, when the user leaves the database, I would like
the database to have the time populated in the LogOutTime field on the same
record as LogInBy and LogInTime. For example, when I log in to the database,
the database will create a new record (Record 3) in Table A, and when I leave
the database, the database will populate the time in the LogOutTime field of
Record 3.
Should I use the Append query in On Load event of the Main Menu form? If I
do that, a new record will be created whenever the users return to the Main
Menu from other forms.
Thanks.