RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBQuery.Params Property

Contains the parameters for a query's SQL statement.

Pascal
property Params: TParams;
C++
__property TParams Params;

Access Params at runtime to view and set parameter names, values, and data types dynamically (at design time use the collection editor for the Params property to set parameter information). Params is a zero-based array of TParams parameter records. Index specifies the array element to access.

Note: An easier way to set and retrieve parameter values when the name of each parameter is known is to call ParamByName. ParamByName cannot, however, be used to change a parameter's data type or name.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!