Data.DB.TParams.AddParam
Delphi
procedure AddParam(Value: TParam);
C++
void __fastcall AddParam(TParam* Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.DB.pas Data.DB.hpp |
Data.DB | TParams |
Description
Inserts a new field parameter into the Items list.
Use AddParam to add an instantiated parameter to the Items list. To create a field parameter as well as add it to the list, use CreateParam instead.
Note: Parameters for datasets that represent queries are only created by specifying parameters in the SQL statement. The TParam objects in such a dataset's Params property are created automatically when parameter tokens are added to the SQL statement.