RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSQLQueryTableProducer.Query Property

Specifies the TSQLQuery object that TSQLQueryTableProducer runs to obtain its data.

Pascal
property Query: TSQLQuery;
C++
__property TSQLQuery Query;

Set Query to specify the query to run to obtain the data for the HTML table. Use Query to set the query for the TSQLQueryTableProducer rather than the DataSource property: TSQLQueryTableProducer generates its data source internally. 

The individual field bindings specified by the THTMLTableColumn objects in the Columns property refer to fields in DataSet.

Note: Query is identical to the DataSet property, except Query does not use the TDataSet base class of the query object.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!