resource exceeded (1 Viewer)

idxyz

New member
Local time
Today, 10:32
Joined
May 18, 2020
Messages
24
Hi,

to solve the reource exceeded error in my 2016 access database, could I include this line in the main Form's Load handler:
DBEngine.SetOption dbMaxLocksPerFile, 50000
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Tomorrow, 01:32
Joined
May 7, 2009
Messages
19,245
you can.
you can even have it once in a function:

public function fnMaxLock()
DBEngine.SetOption dbMaxLocksPerFile, 500000
end function


then RunCode it on AutoExec macro.
 

Users who are viewing this thread

Top Bottom