FireDAC.Stan.Param.TFDParam.AssignFieldValue
Delphi
procedure AssignFieldValue(AField: TField; const AValue: Variant); overload;
procedure AssignFieldValue(AField: TField); overload;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure | public | FireDAC.Stan.Param.pas | FireDAC.Stan.Param | TFDParam |
Description
Assigns the DataType and Value properties from a TField object.
Use the AssignFieldValue method to set the Value property to the value passed as the AValue
parameter. AssignFieldValue assumes that the Value represents a value from a field, such as the AField
parameter, and assigns the DataType property accordingly.
Unlike the AssignField method, AssignFieldValue does not name the parameter after the field object.