I'm attempting to add an ID field to my table of DataType Autonumber but keep getting error File sharing lock count exceeded. Increase MaxLocksPerFile registry entry.
On Googling there's instructions to enter
DAO.DBEngine.SetOption dbmaxlocksperfile,15000 into the immediate window.
However I find that does nothing, the error remains. (I also tried a value of 20,000)
My table has 16256 rows and 30 columns.
What value will work, or is ir better to change the setting in the registry
as described here https://support.microsoft.com/en-nz...r-message-during-large-transaction-processing
On Googling there's instructions to enter
DAO.DBEngine.SetOption dbmaxlocksperfile,15000 into the immediate window.
However I find that does nothing, the error remains. (I also tried a value of 20,000)
My table has 16256 rows and 30 columns.
What value will work, or is ir better to change the setting in the registry
as described here https://support.microsoft.com/en-nz...r-message-during-large-transaction-processing