Search for
in snippet title/description
in snippet text
Browse Code
Add-Ins
Blog
Language Feeds
Service Stats
FAQs
Feedback
About
Manage Your Code
Login
Register
Snippet: File Lock Error (VBA)
Title:
File Lock Error
Language:
VBA
Description:
Occasionally, a file lock error exceeded message will come up when accessing records through DAO. To temporarily avoid this use the code line below.
Views:
68
Author:
Steve Moore
Date Added:
2/8/2010
Copy
Code
1
DAO.DBEngine.SetOption dbMaxLocksPerFile, 99000
DAO.DBEngine.SetOption dbMaxLocksPerFile, 99000
Usage
As above (the numeric value is editable)