Locked Database

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a .MDE file that will not load. The OnLoad code says

' if database locked, logout user...
If rstCCC_Security!DatabaseLocked.Value = True Then
MsgBox "Database Currently Locked for
Processing...Please try again in a few minutes..."
DoCmd.Quit
End If

I think someone tried to run a monthly close procedure that never completed.
There are NO users currently in either the FE or the MDE. The DB is set to
load the Main Form on open, which won't open.

Any ideas on how to unlock the db?

Thanks,

Patty
 
Patty,

Did you try looking in Windows Explorer where you have the .mde file stored?
If you see a file with the same name as your database but the extension .ldb
(when you aren't running your .mde file) then that is your problem.
Something could have been glitchy when the database was last closed and this
lock file wasn't deleted. Simply delete that .ldb file and hopefully you are
back in busines!
 

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

Similar Threads

Creating MDE error "Main Menu Format" 2
Error: Argument Not Optional 0
Record Locking 2
Open a new DB and close the close the original DB 2
Locked fields 1
using batch file 2
multiple users 21
database locking 3

Back
Top