Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Timeout on ODBC connection ????

Status
Not open for further replies.

suzreid

Technical User
Sep 26, 2000
59
GB
Is there a timeout property on an ODBC connection?

I have an Access application that connects to an Oracle database via ODBC and when I'm updating the Oracle tables it seems to randomly give me ODBC connection failure errors.

Is there anything I can do to stop the application dropping the connection?
 
In query design mode, open the query properties and increase the ODBC timeout.

Sometimes you can improve the response time by changing the way the query is written. If you get good response with just two linked tables, then link to a third and it times out, it might help to nest one query in another.
 
Also, use regedit.exe and look at:
\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\3.5\Engines\ODBC

There are parameters for LoginTimeout, QueryTimeout, and ConnectionTimeout that you can change to increase the defaults.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top