Data.DB.TParams.ParamValues
Delphi
property ParamValues[const ParamName: string]: Variant read GetParamValue write SetParamValue;
C++
__property System::Variant ParamValues[const System::UnicodeString ParamName] = {read=GetParamValue, write=SetParamValue};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Data.DB.pas Data.DB.hpp |
Data.DB | TParams |
Description
Lists the values of individual field parameters that are specified by name.
Use ParamValues to get or set the values of individual named field parameters. ParamName is a string containing the names of the individual field parameters of interest. If ParamValues is used to access more than one field parameter, the names are separated by semicolons (;).
Setting ParamValues sets the Value property for each parameter listed in the ParamName string. Specify the values as Variants, in order, in a Variant array.
Getting ParamValues retrieves a Variant array of Variants, each of which represents the value of one of the named parameters.
If ParamName includes a name that does not match any of the field parameters in Items, an exception is raised.