Group:  Microsoft Access ยป microsoft.public.access.security
Thread: ldb won't delete

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

ldb won't delete
Pattyt 12.07.2006 17:13:02
Hello,
I have a split DB running and when I try to open the back-end to do edits on
a table, I get a message saying that I do no have exclusive access and that
my changes may not save. When I checked the ldb files I found that there is
always two and they seem to be from the same user. I've tried to delete them
and they do but then they show up again.

Is there anything I can do?
Re: ldb won't delete
Scott McDaniel <scott[ at ]NoSpam_Infotrakker.com> 13.07.2006 01:39:58
On Wed, 12 Jul 2006 10:13:02 -0700, Pattyt <Pattyt[ at ]discussions.microsoft.com> wrote:

[Quoted Text]
>Hello,
>I have a split DB running and when I try to open the back-end to do edits on
>a table, I get a message saying that I do no have exclusive access and that
>my changes may not save. When I checked the ldb files I found that there is
>always two and they seem to be from the same user. I've tried to delete them
>and they do but then they show up again.
>
>Is there anything I can do?

The .ldb file is the lockfile generated by Access whenever a user opens the database. You can delete it, but, as you've
found, Access just rebuilds it as needed. Also, you cannot delete it if another user has the db open ... Windows will
alert you and disallow the delete.

You cannot edit a table that is in use in Access 2000+. You'll have to open the db exclusively to do this ... you can do
this by opening Access, click File - Open, then locate the file and click the down arrow beside teh Open button ...
select Open Exclusive. Of course, you cannot open the file exclusively if another user already has it open.


Scott McDaniel
scott[ at ]takemeout_infotrakker.com
www.infotrakker.com

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net