Avatar of thandel
 asked on

MS Access looking not accessed records

We have a DB that has been in use, (and repairs are run regularly).

Later I've noticed the Access is locking orders that are not even being accessed.

We have a main entry form and users can navigate with this form either by entering an order number (unique key) Autonumber non editable, primary key indexed with no duplicates.

This has been working fine but now I see that if a new record is created or an order just one record away from each (i.e. Order 789 and 790) that one is locked while the other is being worked on even though the locked order was never touched by user.  Ex. User creates 790 after 789 was created, user exits form goes back in and enters 790 to hit that record directly 789 is locked even though he never touched or access 789.

Any ideas?  (Sorry for being wordy)
Microsoft Access

Avatar of undefined
Last Comment

8/22/2022 - Mon
Jeffrey Coachman

<Any ideas? >
Without a sample db for reference, this is difficult to say...
How are you sure that the record is "Locked"
A "Locked" record is not the same thing as a record that cannot be accessed.

Do you have any recordset code that might affect "adjacent" records?

Sometimes (not properly closed) recordset code will "Lock" a record(s)


Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Resolved with my discovery.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.