Solved

Close Access after period of inactivity/idleness

Posted on 2004-09-22
4
551 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
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

803 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