if you are looking to display the user of the database or the owner of the computer, you can use the VBA code called:Is there a way of getting a message popup of a user who has just logged into the database??
![]()
application.currentuser
Sorry I'm not much of a detail person any more...it's very hard for me to pay attention to anything for very long.
Hi George
Thanks for the reply.. i dont understand what you mean? could you please explain in detail? thanks
viren
hi wiklendt
my user logs in through ms access default login form with no password. (i have used the user level security wizard to create all users)
and i want the program to alert me when a user logs into the database.
thanks in advance
When they logout, their name is removed from the table. When the programmer logs in, a hidden form can use the on timer event to compare the current record set with the record set from a minute ago. If the record sets are different, the programmer can be alerted to the difference via a message box.
Do you guys think this would be a good method?
ok, here is a question no one has asked yet.Idea is not bad, but what if admin gets login and same time a user gets logout, the recordset will change definately (user is logout not login), so.... where the admin stands???
Khalid
When they logout, their name is removed from the table.
That sounds better actually. Good thinking.
or why not have a "login log", where instead of the user being removed from the table, a close event triggers the time and date to go into a "logged out" field in the table.