Solved

unlocking database files

Posted on 2004-08-17
4
1,355 Views
Last Modified: 2006-11-17
Does any one know of a  way to automatically unlock all .mdb and .ldb files? I continue to have locking problems with the databases which require me to manually unlock files until the DB lets us in.  It would be nice if we could do this automatically. Let me know your thoughts.  Thanks!
0
Comment
Question by:soda0091
4 Comments
 
LVL 36

Accepted Solution

by:
SidFishes earned 100 total points
ID: 11821967
well you can run a batch file

del c:\mydatadir\*.ldb /Q /F

but id' try to find out why your ldb's are hanging around in the first place...it's usually caused by someone exiting improperly

0
 

Author Comment

by:soda0091
ID: 11823223
Any other suggestions? I will try checking that out.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access 2016 5 53
Ms Access VBA Variables 6 26
Dynamically Reorder List Box 4 37
Problem copying record details to a new record 5 8
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

774 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