The information in this article applies to:
Moderate: Requires basic macro, coding, and interoperability skills. IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe. SYMPTOMSThe default ODBC Login timeout setting for Microsoft Jet databases is 20 and is stored, depending on the version, in the following registry keys: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines\ODBC\LoginTimeoutYou can change this value from the default of 20; however, the new value will not be used in the OpenDatabase method of the current database, as in the following line: Set db=OpenDatabase("",false,false,"odbc;DSN=TEST") RESOLUTIONIf you have changed the registry key to something other than the default of 20, and you want to use that new value with the OpenDatabase method, you should include the DBEngine object, as in the following line: Set db=DBEngine.OpenDatabase("",false,false,"odbc;DSN=TEST" ) STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. MORE INFORMATIONWARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk. Steps to Reproduce Problem
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines\ODBC\LoginTimeout Additional query words: pra
Keywords : kbdta |
|
Last Reviewed: May 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |