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;

DBBdeWeb

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.
 

 

TDataSetTableProducer 

TQuery 

TWebRequest 

TWebRequest 

TWebRequest 

The Web Module 

Using TQueryTableProducer

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!