I am trying to compact an Access Database but it is failing because a connection to the database is still open. How can I drop all connections to the database programmatically?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Short answer you cant, long answer you can!
There is no built in way of doing this like on a SQL server however with a bit of preplanning you can set things up to kick users out of a database. See this article on some methods you can use
http://www.rogersaccesslibrary.com/download3.asp?SampleName=LogUsersOff.mdb