RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TQueryTableProducer.Query Property

Specifies the TQuery object that TQueryTableProducer runs to obtain its data.

Pascal
property Query: TQuery;
C++
__property TQuery 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 TQueryTableProducer rather than the DataSource property: TQueryTableProducer 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!