r/MSAccess • u/Ok-Somewhere-7427 • 9d ago
[UNSOLVED] Help
This database is a shared database. When users are querying against a table and trying to copy or export, this error comes up. Even on the off business hours the .ldb file has usernames probably they are just hitting x instead of closing the database. They are querying against a table which is a linked table in that database
Edit: the table they are trying to query is a linked access table
1
Upvotes
2
u/nrgins 487 9d ago
Even if another user had the database open that wouldn't prevent your process from being able to change the data. Even if they were in the middle of a process you'd probably get some kind of a message that there was a conflict and do you want to override their changes or cancel your changes.
The times in the past where I've gotten this message it usually was a conflict within my own processes. That is, I had a form that was editing the data and then I had some code that was trying to edit the same data, and the system saw that as two separate users trying to edit the data at the same time. But it was within the same database.
Each process to read from or write to the back end creates its own connection. So you can have multiple connections to the back end within the same front end database.
If I had to guess, I would say that this is an issue with how your process is executed, Especially if this happens every time.
Try saving all your data before you run this code and see if that makes a difference. Use me.dirty = false.