A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do I get a form to close automatically after it's idle?



 
 
Thread Tools Display Modes
  #1  
Old August 22nd, 2007, 01:04 PM posted to microsoft.public.access.forms
jon
external usenet poster
 
Posts: 640
Default How do I get a form to close automatically after it's idle?

I need my form to close automatically and lock itself up after a certain
amount of time has passed and the mouse doesn't move just like how the
computer shows a screen saver after so many seconds of being idle. This way,
no one else can go on the form if I needed to leave all of a sudden.
  #2  
Old August 22nd, 2007, 02:52 PM posted to microsoft.public.access.forms
Daniel
external usenet poster
 
Posts: 1,017
Default How do I get a form to close automatically after it's idle?

Similar principle as the demo

http://www.rogersaccesslibrary.com/d...sOffNonUse.mdb

Your can use a timer event which get reset whenever the user moves about a
form. If they don't move around, after a determined time period you use the
docmd.close to close the form (The example close the entire db).
--
Hope this helps,

Daniel P




"Jon" wrote:

I need my form to close automatically and lock itself up after a certain
amount of time has passed and the mouse doesn't move just like how the
computer shows a screen saver after so many seconds of being idle. This way,
no one else can go on the form if I needed to leave all of a sudden.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:52 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.