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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adoquery and time-out

Status
Not open for further replies.

Kudel

Programmer
Dec 3, 2002
36
0
0
NO
Hi all

I’m connecting to a MSSQL db. I use an ado connection and an ado query

When I run my query in msQuery analyser it takes 50 sec, but when I activate my query in Delphi I get a time-out error after 30 / 40 sec.

How can I set my connection to never time out?

-Kip
 
Hi,

You could increase the value for the ConnectionTimeout property for the ADO Connection. This is the time in seconds before the connection fails.



There are two ways to write error-free programs; only the third one works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top