timer to close app

  • Thread starter Thread starter mcnewsxp
  • Start date Start date
M

mcnewsxp

is there a way to shut down an mdb app if it has been idle after a set time?

tia,
mcnewsxp
 
You'd have to decide which form might be open, or, if the switchboard is
always open you could use the timer event property of that form with a
DoCmd.Quit command after the timer fires.
There is a lot of examples out there if you 'Google' Access forms timer event.
Paul
 
Albert D. Kallal said:
yes, there is sample download, and I have successfully used it in several
applications.

Hi Albert,

In my experience, closing an app after a period of inactivity just p1sses
the users off. I find that using a "log users off" utility when necessary
gets a much warmer reception :)

Regards,
Keith.
 
Keith Wilby said:
Hi Albert,

In my experience, closing an app after a period of inactivity just p1sses
the users off. I find that using a "log users off" utility when necessary
gets a much warmer reception :)

Regards,
Keith.

I have to agree with you.

**Much** caution meed be taken with kicking out users on a timer system. I
have mine set for about 2, or was it 3 hours, so it is not like some every
20 minutes or some such. So, any activity in that time period does start the
timer over. I also log when this occurs in a table (if too high of a
incidence of the logout code occurs, then either I making users mad, or some
other such issue is at stake).

I simply wanted them out so when the daily backup runs on the server. The
open files are skipped by the backup.

However, at the of the day, users should log out of their computers...and
these
"automated" solutions are to be used with caution. I always beleive and
assume
one has good people, and if they can't logout then I think a larger problem
with regards to staffing is occuring here....
 
Back
Top