RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSQLQueryTableProducer Class

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

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

DBXpressWeb

Use TSQLQueryTableProducer to produce an HTML table for the records of a parameterized query. The TSQLQuery 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. 

See the WebServ demo for an example of how to use TSQLQueryTableProducer. 

 

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