Search found 7 matches

by tommytran
29.04.2008, 05:11
Forum: Feature Requests
Topic: Query Timeout
Replies: 10
Views: 5835

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
by tommytran
27.03.2008, 05:30
Forum: Feature Requests
Topic: Query Timeout
Replies: 10
Views: 5835

Hi Mark,

I haven't tried this yet. I'll try and test it.

Regards,
Tommy Tran
by tommytran
26.03.2008, 16:16
Forum: Feature Requests
Topic: Query Timeout
Replies: 10
Views: 5835

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...
by tommytran
20.03.2008, 10:21
Forum: Feature Requests
Topic: Query Timeout
Replies: 10
Views: 5835

Hi Mark, I tried to add the code for the query timeout value to TZAdoConnection.Open (ZdbcAdo.pas) as follows: procedure TZAdoConnection.Open; var LogMessage: string; begin if not Closed then Exit; LogMessage := Format('CONNECT TO "%s" AS USER "%s"', [Database, User]); try if Rea...
by tommytran
19.03.2008, 08:42
Forum: Feature Requests
Topic: Query Timeout
Replies: 10
Views: 5835

Hi mdaems,

Thanks for your responses and information very much. I'll try to do your suggestion but I'm not sure I can.

Thanks a lot.

Tommy Tran
by tommytran
19.03.2008, 04:46
Forum: Feature Requests
Topic: Query Timeout
Replies: 10
Views: 5835

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 =...
by tommytran
18.03.2008, 10:17
Forum: Feature Requests
Topic: Query Timeout
Replies: 10
Views: 5835

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 ...