Solved

unlocking database files

Posted on 2004-08-17
4
1,352 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

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now