Web.DBXpressWeb.TSQLQueryTableProducer

From RAD Studio API Documentation
Jump to: navigation, search

Web.DBWeb.TDSTableProducerWeb.HTTPApp.TCustomContentProducerSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTSQLQueryTableProducer

Delphi

TSQLQueryTableProducer = class(TDSTableProducer)

C++

class PASCALIMPLEMENTATION TSQLQueryTableProducer : public Web::Dbweb::TDSTableProducer

Properties

Type Visibility Source Unit Parent
class public
Web.DBXpressWeb.pas
Web.DBXpressWeb.hpp
Web.DBXpressWeb Web.DBXpressWeb

Description

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

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.

See Also