P prabha_friend Prabhakaran Karuppaih Local time Tomorrow, 00:28 Joined Mar 22, 2009 Messages 1,026 Dec 10, 2010 #1 I know how to set the Maxlockspefile using dao.dbengine.setoptions. But how to read that property?
the_net_2.0 Banned Local time Today, 13:58 Joined Sep 6, 2010 Messages 812 Dec 12, 2010 #2 try: Code: GetOption("Maxlockspefile") or whatever the argument is. if you know how to set it, then you should know the arg name. throw it into a variable and print the var.
try: Code: GetOption("Maxlockspefile") or whatever the argument is. if you know how to set it, then you should know the arg name. throw it into a variable and print the var.
V vbaInet AWF VIP Local time Today, 19:58 Joined Jan 22, 2010 Messages 26,374 Dec 12, 2010 #3 I believe that's a registry setting and there's no GetOption method of the db Engine object. You need to read the registry to get the value, but you must use the full path. I think the default max number is about 9k.
I believe that's a registry setting and there's no GetOption method of the db Engine object. You need to read the registry to get the value, but you must use the full path. I think the default max number is about 9k.
jdraw Super Moderator Staff member Local time Today, 14:58 Joined Jan 23, 2006 Messages 15,571 Dec 12, 2010 #4 See this link for info http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 Sample includes .... ' Set MaxLocksPerFile. DBEngine.SetOption dbMaxLocksPerFile, 200000 .... Last edited: Dec 12, 2010
See this link for info http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 Sample includes .... ' Set MaxLocksPerFile. DBEngine.SetOption dbMaxLocksPerFile, 200000 ....
the_net_2.0 Banned Local time Today, 13:58 Joined Sep 6, 2010 Messages 812 Dec 12, 2010 #5 vbaInet said: I believe that's a registry setting and there's no GetOption method of the db Engine object. Click to expand... thanks for saving the day. (if that's what you did) getoption is an application method.
vbaInet said: I believe that's a registry setting and there's no GetOption method of the db Engine object. Click to expand... thanks for saving the day. (if that's what you did) getoption is an application method.