Kill Active Connections Programmatically?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to kill all active connections to an access database?

Thanks!
 
You mean from within an MDB, you want to kill all connections being made to
it from outside of it?

I don't believe it's possible.
 
Hi,
what you can do - is to build a procedure in frontend - when you need to
disconnect users - you set a flag in some settings table in BE, proc read
this flag say every 5 min, once it true - if force frontend shutdown using
docmd.quit
 
Thanks Alex. I think I understand. I will add a routine in autoexec to
check a flag and then have each attached client issue a docmd.quit should the
shut down flag equal true. Wasnt thinking this way. Thanks again!

Ed
 

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

Back
Top