Closing Idle Database

cdacey

Registered User.
Local time
Today, 14:10
Joined
Dec 11, 2002
Messages
68
Hi,

Since Access seems to be very sensitive to abrupt disruptions on our network, I would like to set the application to close automatically if left idle for a specif time frame. Could anyone point me in the right direction on this.

Thanks Chris
 
One way, on the Timer property of each form, using the timer Interval property, prompt the user for an alternative to quit or continue and he fails to answer or respond, have the program terminate. Another, you could also have each form, update a record periodically, and then at another interval check that record for last update. The latter, although more complex, is probably more difficult (just brute force of coding), but is most effective.

Although I don't have it, there's code around for multiple clocks on the same form.
 

Users who are viewing this thread

Back
Top Bottom