Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / August 2006

Tip: Looking for answers? Try searching our database.

maxlocksperfile

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SHIPP - 25 Aug 2006 13:52 GMT
I am trying to update approximately 15,000 records. I keep on getting Error
3052: File sharing lock count exceeded. Increase MaxLocksPerFile registry
entry.

How do I get around this. This program ran fine under Access 97. We just
upgraded to Office 2003. Any ideas would be appreciated.
Signature

M. Shipp

RD - 31 Aug 2006 18:35 GMT
>I am trying to update approximately 15,000 records. I keep on getting Error
>3052: File sharing lock count exceeded. Increase MaxLocksPerFile registry
>entry.
>
>How do I get around this. This program ran fine under Access 97. We just
>upgraded to Office 2003. Any ideas would be appreciated.

It doesn't look like you ever got an answer to this.

I had a similar problem a while back but increasing the MaxLocksPerFile didn't
help.  What ended up helping (thanks go to David Epsom) was putting the
following in my Update loop just before my Next statement:

Application.DBEngine.Idle dbRefreshCache

This causes Access to release the locks.

Hope this helps,
RD
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.