Solved

Auto close Access after time period of non usage

Posted on 2011-03-15
8
420 Views
Last Modified: 2012-08-14
Is there anything that can be added to an MS Access Database that closes the Apllication if there has been a 30min period of non usage?
0
Comment
Question by:JSSenior
8 Comments
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 250 total points
ID: 35137166
see the method discussed here
How to detect User Idle Time or Inactivity in Access
http://support.microsoft.com/?kbid=210297
0
 
LVL 2

Assisted Solution

by:IT-Factory
IT-Factory earned 250 total points
ID: 35137169
Use this on a form

sub form_load()
  Me.timerinterval = 30000
end sub

sub from_timer()
  me.close()
end sub

Open in new window

0
 

Author Comment

by:JSSenior
ID: 35139218
capricorn1,

Thanks for this, it seems to work but not always, any ideas why this may be?
0
 
LVL 75
ID: 35139690

This works ... I've tested it:

http://www.peterssoftware.com/isd.htm

As does this (related):

http://www.peterssoftware.com/fsd.htm

Both are free ...

mx
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 75
ID: 35362573
JSSenior:
Just curious, did you try Peter's solution.  It always works ;-)

mx
0
 

Author Comment

by:JSSenior
ID: 35362614
I never got to it, unfortunately so many other things have taken priority. Hope to get back on it next week, thanks for the info
0
 
LVL 75
ID: 35362634
Also curious how the Assisted answer closes Form after no activity. Nothing in that code resets the time if activity *occurs*.  Did you test this?

mx
0
 

Author Comment

by:JSSenior
ID: 35362658
It was a while ago from what i remember i had to mess woth code a bit.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
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…
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…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now