Hi Mark,
I'm sorry for my replying very late.
I tried to change the code as you showed above, but this don't get Timeout work. So I decided to use the code that I showed above and they have worked well for now.
Regards,
Tommy Tran
Search found 7 matches
- 27.03.2008, 05:30
- Forum: Feature Requests
- Topic: Query Timeout
- Replies: 10
- Views: 5902
- 26.03.2008, 16:16
- Forum: Feature Requests
- Topic: Query Timeout
- Replies: 10
- Views: 5902
Hi Mark, I'm sorry for my response late. I added the code for the ADO query timeout as you commented and it worked. First I added the code into the procedure TZAdoConnection.Open; (ZDbcAdo.pas), but this code is not enough to the ADO query timeout (for this I also tested with components TADOConnecti...
- 20.03.2008, 10:21
- Forum: Feature Requests
- Topic: Query Timeout
- Replies: 10
- Views: 5902
- 19.03.2008, 08:42
- Forum: Feature Requests
- Topic: Query Timeout
- Replies: 10
- Views: 5902
- 19.03.2008, 04:46
- Forum: Feature Requests
- Topic: Query Timeout
- Replies: 10
- Views: 5902
I found the property CommandTimeout of the interface Connection15 in the file ZPlainAdo.hpp, I think this property is used to set Query Timeout but I don't know how to set it :( . I tried to set it as follows: IZConnection *izConnection = zconnMSSql->DbcConnection; IZAdoConnection *izAdoConnection =...
- 18.03.2008, 10:17
- Forum: Feature Requests
- Topic: Query Timeout
- Replies: 10
- Views: 5902
Query Timeout
Hi, I'm using Borland C++ Builder 6.0 and Zeoslib with protocol ADO to access MS SQL Server 2005. The default query timeout value of ADO is 30 seconds and I want to change this value. The components TADOConnection and TADOCommand of BCB6 have one property CommandTimeout which allow to set the query ...