I’m having issues with record locking again and have spent the last 1/2 searching and reading posts in this forum.
I have some users in a remote office who are having intermittent problems with record locking. I am unable to check their machine setups so am relying on feedback from them to set the picture. As I could be waiting sometime for this, I’m hopefully not going to ask anything that requires more information (than I have at present) to answer.
The first point is the record locking options (in Tools>Options>Advanced).
Can someone confirm the option least likely to cause unwanted locking is as follows:
Default open mode: Shared
Default record locking: No locks
Open database using record-level locking: True
with the property ‘Record Locks’ is set to ‘No Locks’ for all forms.
I can’t confirm the users have not changed the settings (in Options) at this stage but I doubt it.
The second concerns enforcing these settings.
Would it be reasonable to use the VBA method SetOption to set these options, say when a splash screen/startup form loads?
Lastly (and I apologise if this is a bit vague), this is what the users could be up to:
One user (user1) is editing a record directly in a table (the table is linked to the BE database) which I’ll call tbl1.
Another user (user2) is using a form in the database (this form is bound and its record source is a query which includes information from tbl1. However any edits here are to the information in a related table, not tbl1.
User2 may then decide to open the same table open and make changes.
The users assure me they are not looking at the same record, so why is someone getting locking error messages.