Why doesn't my macro run?

J

Jindy Singh

I am trying to run a macro on my database and it keeps coming up with the
following message:

'The database has been placed in a state by user 'admin' on machine 'ukpms'
that prevents it from being opened or locked'

Have some temporary lock files been created somewhere if a user has crashed
out from the database??

That's all I could think of being an access novice!
 
N

Nikos Yannacopoulos

Yes. Whenever a user opens a database, Access creates a lock file in the
same in the same folder as the database file, which has the same name as
the database file, with extension .ldb. Access is supposed to delete the
lock file when the (last) user exits the database, but obviously fails
to do so if it crashes, so the lock file stays there! Try to delete it
manually (from My Computer or Windows Explorer).

HTH,
Nikos
 

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