Online Documentation for Advanced Query Builder for RAD Studio VCL

OnGetTableFields event


Applies to

TCustomQueryBuilder component

 

Declaration

type

  TGetTableFieldsEvent = procedure(const NameOfTable: stringvar ADataSet: TDataSet; var AParams: TParams); of object;

 

property OnGetTableFields: TGetTableFieldsEvent;

 

Description

 

The OnGetTableFields event takes place, when you set the SQL property in run-time. Constant parameter NameOfTable is the table name, used in the SELECT ... FROM statement. Using parameter ADataSet you can define the dataset, containing data to select from, and using AParams you can define the dataset parameters.

 


See also:

OnEnterProcParameter