[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


disconnect users from access db

Posted on 2014-08-06
Medium Priority
Last Modified: 2014-08-06
I have an EXCEL pivot file that refreshes uses a query in an ACCESS db.  I need to edit that DB but someone is using the EXCEL file and the db opens as read-only.  Is there a way to "kickoff" the users?
Question by:szadroga
LVL 12

Assisted Solution

pdebaets earned 1000 total points
ID: 40243673
We have a free utility called "Force Shut Down" that enables you to kick all users off of a multi-user Access application. More info is here: http://www.peterssoftware.com/fsd.htm
LVL 58

Accepted Solution

Jim Dettman (Microsoft MVP/ EE MVE) earned 1000 total points
ID: 40243755
If the data store is a JET/ACE db, the short answer is no.  

  You need to build something into the app to force users off.  A force disconnect outside of that can corrupt the DB.

  JET/ACE does have a passive shutdown feature, which when enabled will stop new connects to a DB, but it doesn't touch existing users.

 Your best bet is to build something in along the lines of what Peter did.

 Also, you may want to add the ability for the app to detect idle time, and if longer than xx minutes, force a quit (again built into the app):

ACC: How to Detect User Idle Time or Inactivity


Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
If you’re using QODBC to update QuickBooks data from Microsoft® Access but Access is not showing the updated data, you could have set up QODBC incorrectly.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question