ACC2: ODBCTimeout Set to Zero for New Pass-Through QueriesLast reviewed: May 14, 1997Article ID: Q117537 |
The information in this article applies to:
SYMPTOMSAdvanced: Requires expert coding, interoperability, and multiuser skills. When you create a SQL pass-through query using Access Basic, the ODBCTimeout property setting for the query is set to zero, despite the timeout setting you specify.
RESOLUTIONWhen you use Access Basic to create a SQL pass-through query, set the ODBCTimeout property after you set the Connect property for the query. If you do not do this, the ODBCTimeout property is set to zero.
STATUSMicrosoft has confirmed this to be a problem in Microsoft Access version 2.0. This problem no longer occurs in Microsoft Access version 7.0.
MORE INFORMATIONThe ODBCTimeout property setting specifies the number of seconds Microsoft Access waits before a timeout error occurs on a query involving an ODBC database. When this property is set to zero, no timeout occurs.
Steps to Reproduce ProblemNOTE: This example assumes that you have an ODBC data source (such as Microsoft SQL Server) available.
REFERENCESMicrosoft Access "User's Guide," version 2.0, Chapter 12, "Advanced Queries," pages 291-294
|
Additional query words: spt passthrough jet25 jet 2.5
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |