Hello support team I have error appear on every second run "Maxlocksperfile" error windows 10 office 2016 access with VBA and DAO with microsoft office 16 library referance I change the registry from 9500 to 40000 and not help can you help?
Hello support team I have error appear on every second run "Maxlocksperfile" error windows 10 office 2016 access with VBA and DAO with microsoft office 16 library referance I change the registry from 9500 to 40000 and not help can you help?
Since your issue is more related to VBA and DAO which our windows-10-general forum doesn't focus on. I will add VBA related tag to see if there is any VBA support engineer can help. Thanks for your understanding.
Hello SunnyQi-MSFT
Its looks that the problem is solved by VBA next command:
DAO.DBEngine.SetOption dbMaxLocksPerFile, 15000
Nir
Hi Nir,
Glad to hear that the issue has been resolved. You could accept the helpful answer as it would be helpful to anyone who encounters similar issues.
If there is anything else we can do for you, please feel free to post in the forum.
Best Regards,
Sunny
9 people are following this question.