Solved

Changing File Sharing Lock Count in Access 2010

Posted on 2011-03-15
2
1,166 Views
Last Modified: 2013-11-29
I normally use Access 2007 and have run into the File Sharing Lock Count issue and have fixed this using by changing the Registry (HKEY_Local_Machine\SOFTWARE\Microsoft\Office\12.0
Access Connectivity Engine\Engines\Ace\MaxLocksPerFile)

I do not see this sequence when working with Access 2010.
0
Comment
Question by:jaustinr
2 Comments
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 63 total points
ID: 35139620
Should be:

HKEY_Local_Machine\SOFTWARE\Microsoft\Office\14.0
Access Connectivity Engine\Engines\Ace\MaxLocksPerFile

JimD.
0
 
LVL 75

Assisted Solution

by:DatabaseMX (Joe Anderson - Access MVP)
DatabaseMX (Joe Anderson - Access MVP) earned 62 total points
ID: 35139659
I suggest you use VBA to change this setting on a 'per session' basis only, and not mess with the Registry for this, which my not be possible on some user machines.  

Put this at the beginning of your code for a temporary override of the Default:
DAO.DBEngine.SetOption dbmaxlocksperfile, 25000  ' or higher if necessary

This works very well  ... in any version of Access.

mx
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now