RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TQueryTableProducer Class

TQueryTableProducer assembles a sequence of HTML commands to display the result set of a query in a tabular format.

Pascal
TQueryTableProducer = class(TDSTableProducer);
C++
class TQueryTableProducer : public TDSTableProducer;

Use TQueryTableProducer to produce an HTML table for the records of a parameterized query. The TQuery object obtains its parameters from an HTTP request message. If the request is a GET message, the parameters for the query are the QueryFields property of the request object. If the request is a POST message, the parameters for the query are the ContentFields property of the request object. 

To produce an HTML table for a query that has no parameters, use the TDataSetTableProducer object instead.

Note: See the WebServ demo for an example of how to use TQueryTableProducer.
 

 

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