?
Solved

Close Access after period of inactivity/idleness

Posted on 2004-09-22
4
Medium Priority
?
567 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 66

Accepted Solution

by:
Jim Horn earned 500 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 500 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

752 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