ADO Connection
Hi,
Using RB 14, Delphi XE3.
Have I understood how the standard ADO DADE plug-in (daADO) works correctly,
please? The CommandTimeout property of a QueryDataView created in the report
takes its value from the CommandTimeout property of the TADOConnection that
the report is connected to?
So if I have a report where the query is timing out after the default 30
seconds, if I change the TADOConnection.CommandTimeout value on my Delphi
form, this will feed through to the report QueryDataView's query?
Many thanks,
Jason.
Jason Sweby.
Using RB 14, Delphi XE3.
Have I understood how the standard ADO DADE plug-in (daADO) works correctly,
please? The CommandTimeout property of a QueryDataView created in the report
takes its value from the CommandTimeout property of the TADOConnection that
the report is connected to?
So if I have a report where the query is timing out after the default 30
seconds, if I change the TADOConnection.CommandTimeout value on my Delphi
form, this will feed through to the report QueryDataView's query?
Many thanks,
Jason.
Jason Sweby.
This discussion has been closed.
Comments
Yes, if you take a look at the daADO.pas file inside the
TdaChildADOQuery.SetConnection routine, you will see that we assign the
CommandTimeOut property from the ADOConnection object.
When a QueryDataView is created the internal query is a TdaChildADOQuery
(TADOQuery descendent).
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Jason.