check here for more info regarding .ldb
Introduction to .ldb files in Access
http://support.microsoft.c
Main Topics
Browse All TopicsHi,
Is it possible for a MS Access Database lock file to think a user is still using the DB enen thought they are not? If so, is there anything that can be done?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
check here for more info regarding .ldb
Introduction to .ldb files in Access
http://support.microsoft.c
You can view the users listed as logged in using LDBViewer, available from Microsoft below.
http://support.microsoft.c
>>Would it be helpful if users shut down their computer at the end of each day?
No. The users need to correctly exit the database so Access can delete them from the LDB file. If they exit in any way other than through the close database menu, they may get left in the ldb. We found that even users who clicked the X in the upper right sometimes remained since our closing code may not get run.
mlmcc
The Lock file is created any time the program is started. In an application I wrote I actually wanted the Lock File to stay even if the user exited. It was easy to do this by simply creating the lock file with a higher previllage and removing the ability for the user to delete the file. This allowed the users to start the DB, BUT NOT delete the lock file.
Why do this?
In the common directory that the application existed in I wanted to grant users the abilitily to modify the files BUT NEVER delete them. The problem was that Admin level users when they signed in had the delete privillege and when they exited if they were the only user then the lock file would go away. When a user that did not have create file tried to use the DB the lock file could not be created.
This is a long comment but I would suggest that you look in the directory and make sure that all users can actually delete the lock file. If they cannot then it is very possible that when they exit the lock file will remain.
jdolan:
I don't know if this will help, but I would suggest creating a close out/exit application button that you could place on a timeout modular form so that after a certain amount of time with the database file being open the user is prompted to exit the database. By making the form modular, they are forced to close this way only. This is basically what I use, and I found that it helps keep the database closed when not in use for certain period of time. You can get creative with this to your needs for your application. If you are interested in such a method, I or one of the many experts on this forum can assist you with this as well.
I would also look into Pohara's comment because that suggestion does seem interesting and I'm considering implementing something similar to their suggestion.
Good luck!
oraclexview
Business Accounts
Answer for Membership
by: peter57rPosted on 2004-12-21 at 06:36:47ID: 12875957
Hello jdolan2587,
Delete the ldb file when everyone has exited the application.
Pete