log out if user unactive

bhelmy

Registered User.
Local time
Today, 08:31
Joined
Dec 6, 2015
Messages
62
how to make access log out the user if the user inactive for 15 minute
 
Do you mean close a form, or close the whole database?
Do you need to save what they were doing, or would this depend which form they were on?
Do you need to warn them first that they are being "logged out"
 
If you allow the user to see the Navigation pane and the Ribbon, the answer is "you cannot do this."

If you have a system in which you have a switchboard form that is ALWAYS there in the background, and if every action taken on a form resets some internal timestamp visible to the switchboard, then you could have an OnTimer event in the switchboard that checks every minute for how long it has been since the user last did anything. You could make your decisions from that information, and the switchboard form could do an Application.Quit for you if that was what you wanted to have happen.
 

Users who are viewing this thread

Back
Top Bottom