Cancel Pop Up Boxes

D

Dave

Hi,
A problem I have is people leaving the database open. To get around this,
I've added the 'DetectIdleTime' form (KB Q128814)
This does the job most of the time, but I found I had to set some TimerEvent
procedures to specific forms too. All works well unless someone leaves the
database while a pop box or msgbox is currently on screen. When the database
tries to shut itself down and a msgbox is active, it leaves an access
instance in the task bar that can't be closed without going into Task Manager.
Can anyone suggest a way around this problem?
Regards
Dave
 
M

missinglinq via AccessMonster.com

The first thing that comes to mind is to find one of those steel rulers
people in drafting use and apply it to the knuckles of your recalcitrant
users! Code -wise, I think you're already hit on the only viable solution,
placing TimerEvent that'll close any popup forms before you close the app.
Maybe someone here has a hack for looping thru all forms and closing them.
I'd be interested to see it, too!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top