Solved

Close Access after period of inactivity/idleness

Posted on 2004-09-22
4
557 Views
Last Modified: 2012-06-27
I have administrative rights in a company of 50+ employees, and I need to be able to automatically close Access after a period of inactivity.  Does anyone know how to accomplish this.  This database is not connected to SQL Server.  
0
Comment
Question by:pmle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 65

Accepted Solution

by:
Jim Horn earned 125 total points
ID: 12124675
Nope.  Access does not have this ability.

What can get you close is to have a form running in the background, with an ourrageously long Timer interval (say 1 hour (in seconds) x  1,000 ), that closes the application.  You'd have to build the logic to determine if the app has actually been used during this time period.

Hope this helps.
-Jim
0
 
LVL 26

Assisted Solution

by:dannywareham
dannywareham earned 125 total points
ID: 12125068
I use something slightly different - but still along the same lines

Set your form timer as Jim suggests
then have an OnMouseMove event that resets the timer:

Me.form.timer = 0
Me.form.timer = 10000   ' your original value

I have found a glitch with this though - sometimes (especially in Acc97), you have to put this in the mouseover event of every control on your form....

:-(

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question