We help IT Professionals succeed at work.

MS Access 2007 - Auto close or exit with no activity

shrimpfork
shrimpfork asked
on
This is an interesting one.  I have a large company wide split database (Front End / Back End Setup) that tracks the progress of all our projects.  I would like to set the front end interface with some sort of trigger to detect if the user is actively browsing the reports / forms.  If they are not for a given period of time (no activity), then close the database program.  I am finding that several users are opening the database and not closing it when they are done.  I am finding that when there are several idle(inactive) users in the database that this is slowing down the data access for the other active users.  I have about 20 users that can access the program at any given time through their local front end copy of database.

I’m sure you experts can give me an idea or two on how to control this to free up system resources for the active users…your thoughts please.
Comment
Watch Question

Database Architect / Application Developer
Top Expert 2007
Commented:
See this Q from today ... and note the comments:

http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q__26247056.html

mx
I do something like this for our VMWare View client I have a program that I run hidden call Idle Monitor (http://www.snapfiles.com/get/idlemonitor.html) I set the idle time out I want and if it reaches that timeout I have it run a vbs script to taskkill the process or program.
Top Expert 2016
Commented:
see this link

How to detect User Idle Time or Inactivity
http://support.microsoft.com/?kbid=210297

Author

Commented:
Funny...a question from the same day....I guess I should have searched a little harder before I submitted this question.  I'll take a look at these links.  You guys are great.
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Application Developer
Top Expert 2007

Commented:
shrimpfork:
Please note that the link posted here is already in the Q I referenced, which includes other important information.  That why I referenced the Q instead of just posting that link.

mx
Top Expert 2016

Commented:
and it was me who posted the link...

Author

Commented:
Yes, I see that gentlemen.   The point distribution should be interesting.

Author

Commented:
I have yet to test this out.  I will close this and award points.  Thank you experts.

Author

Commented:
Thank you guys.  I hope you are happy with the point distribution.  I did not know what else to do.