What's the .ldb file do?

E

el zorro

What's the purpose of that little .ldb file, and what
happens if I delete it in a multi user (FE on
workstation -BE on server) environment? If I copy
the .mdb file without the the .ldb file, does anything
bad happen?
 
J

John Vinson

What's the purpose of that little .ldb file,

It keeps track of "record locks", identifying which users have which
records open on a database. Normally Access will create a .ldb file
when it's needed and delete it when the last user closes Access.
and what
happens if I delete it in a multi user (FE on
workstation -BE on server) environment?

You won't be able to if anyone is currently in the database (and if
you did succeed it would probably mess their Access session up
bigtime).
If I copy
the .mdb file without the the .ldb file, does anything
bad happen?

Nope. Access will just create a new one. However, copying an open .mdb
file is a recipe for disaster; if you copy it while someone is
updating, it's very likely that the copy will be corrupt.

John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top