worked for me. no errorsHere, I did a simple database.
Just run the only procedure in the module.
Does it crash on other versions of Access?
Attachment 52156
If this helped, please click the star * at the bottom left and add to my reputation- Thanks
run the update without ";" make all null
run several times the routine got 4
so example is ok na the real.
btw ?dbmaxlocksperfile is 62 and is not in my registry
Using O365.
Ran it as is.
Never changed the registry.
This issue has popped up in posts many times over the last 10 years or so.
The solution I believe has always been what I suggested in Post #2.
I don't recall if there was a max number of MaxLocks but IIRC 20,000 or so worked fine.
If this helped, please click the star * at the bottom left and add to my reputation- Thanks
Related to moke123's response/comments https://www.access-programmers.co.uk...r-file.296647/
Thanks to those that tested. It still fails on my two laptops.
Adding an On Error Goto and a simple Resume in the error code allows the procedure to complete.
This is very odd, if some file sharing locks are set, and more are needed, then how does the procedure continue with just a Resume?
no and its certainly not a parameter setting as suggested bec that par is 92 in ur example and no regedit set