CLOSE MS ACCESS APP AFTER 'X' MINUTES OF INACTIVITY

J

Jim Bonacorda

I have a user requirement that states that my application
will close if it is idle for 'x' minutes. Has anyone
created coded to perform this?


Regards,
Jim Bonacorda
 
D

David Brownstone

On the main forms in use, set the Timer with an Event
Procedure
"docmd.quit"

The timer runs in seconds but must be multiplied by 000,
thus 5 seconds is 5000 - 1 hour is 3600000

I often use this to prevent files being locked overnight,
and thus not backed up, because a user has stayed logged
in and gone home.

Regards
Dave B.
 
Top