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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top