Top Previous Next

Creates an instance of a query component.


constructor Create(AOwner: TComponent);


Call Create to instantiate a query at runtime. Query components placed in forms or data modules at design time are created automatically.

Create calls its inherited Create constructor, creates an empty SQL statement list, an empty parameter list, sets the OnChange event handler for the SQL statement list, establishes a data link, sets the RequestLive property to False, sets the ParamCheck property to True, and sets the RowsAffected property to -1.