ACC: Upper Limit for QueryTimeout and LoginTimeout Parameters

Last reviewed: May 20, 1997
Article ID: Q100176
The information in this article applies to:
  • Microsoft Access versions 1.0, 1.1, 2.0

SUMMARY

Advanced: Requires expert coding, interoperability, and multiuser skills.

This article describes the maximum limit allowed for the QueryTimeout and LoginTimeout parameters.

For information about setting these values in Microsoft Access 95 and 97, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q139044
   TITLE     : ACC95: How to Add Former MSACC20.INI ODBC Section to
               Registry

MORE INFORMATION

In Microsoft Access 2.0, search the Help Index for MSACC20.INI to find information about the default settings in the [ODBC] section of the MSACC20.INI file.

As the README.TXT file for Microsoft Access 1.1 states, the two settings in the [ODBC] section of the MSACCESS.INI file are as follows:

 Entry               Value   Effect
 -------------------------------------------------------------------
 QueryTimeout         S      Wait S seconds for queries sent to
                             ODBC, then stop trying to process
                             the query results (for asynchronous
                             queries only). Default: 60 seconds.

 LoginTimeout         S      Wait S seconds for ODBC login response,
                             and then stop trying to connect to a
                             server. Default: 20 seconds.

However, the Microsoft Access 2.0 Help topic and Microsoft Access 1.x README.TXT file do not state the limits for these parameters.

Because the values for QueryTimeout and LoginTimeout are unsigned 4-byte values (long integers), the maximum value is +/- 2,147,483,648. If the value is set to zero, the timeout is disabled and the query or login never times out.


Keywords : kbusage OdbcOthr
Version : 1.0 1.1 2.0
Platform : WINDOWS
Hardware : X86
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.