Pat drukte met precisie uit :
If I delete the databasename how then can I open it again?
You delete the LDB file (the locks-file) not the MDB file...
But this sort of depends on the cause of your problem; the lock-file
_might_ have a left-over lock in it from a previos (not properly
terminated) session. You might not even have the file (Access deletes
it when every user is logged out).
It could also be a case where the current database user doesn't have
admin-rights in the database
You could try opening the DB with the SHIFT depressed, perhaps some
code opens the table and thus prevents you from accessing it...