Cannot make database change: locked by another user

Anonymous
2020-03-18T20:59:49+00:00

I want to delete one to many relationship in order to set up lookup wizard in text type but my tables couldn't locked because it was used by other person...….

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
ScottGem 68,855 Reputation points Volunteer Moderator
2020-03-18T21:07:28+00:00

Hi Li, I'm an independent adviser and will try to help.

This has been reported by other people. The usual issue is a corrupted locking file. Close the database and make sure the laccdb (or ldb) file has been removed. If it hasn't delete it and try again.

You can also try moving the database to a different folder and then try.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments
Answer accepted by question author
HansV 460.5K Reputation points MVP Volunteer Moderator
2020-03-18T21:05:46+00:00

If you're certain nobody else is using the database:

  • Close the database.
  • Open the folder containing the database in File Explorer.
  • Look for a file with the same name as the database but with extension .laccdb instead of .accdb.
  • If such a file exists, try to delete it.
  • If you succeed, or if there was no such file, start Access.
  • Press Ctrl+O to activate the Open dialog.
  • Navigate to and select the database.
  • Click the dropdown arrow on the right-hand side of the Open button.
  • Select Open Exclusive from the dropdown menu.
  • You should now be able to delete the relationship.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful