Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logout Timer 1

Status
Not open for further replies.

kev747

Technical User
Jan 30, 2003
68
AU
I've searched the FAQ's, but was unable to find anything that answers this question, so I hope someone here can help.

I have a database that is opened by any number of users at any one time, but probably not more than 5-8. The problem is that some of these people tend to stay logged in the database after they have left for the evening, and if I want to update forms or tables, I can't because they lock their terminals.

Is it possible to have the database shut down, either after a certain period of inactivity, or even just after a set amount of time?

I'm not all that familiar with VB, but I can handle the basics.

Thanks in advance,

Kev.
 
Try

ftp://ftp.artrom.ro/AccessLogout.zip

The idle time is set to 15 seconds. Open the database, wait for 15 seconds and the shut-down form will pop up.

Then read the txt file for more information.

It's in Access 97, but you can import the objects into Access2K or XP with no problem.

I don't recommend converting the database, but that's your choice.

HTH


[pipe]
Daniel Vlas
Systems Consultant

 
Thanks guys,
I downloaded and installed the form, and it all works well until I try to create a MDE file for my database. I get and error message that says something like " Error in hidden module in Frmmainmenu".
My Main Menu form opens on startup, so I inserted the code to open frminactiveshutdown in the OnOpen event of this form.
So in effect, I can't have a MDE, would this be right?

Thanks,

Kev.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top