FireDAC.Stan.Param.TFDParam.AssignFieldValue
Delphi
procedure AssignFieldValue(AField: TField; const AValue: Variant); overload;
procedure AssignFieldValue(AField: TField); overload;
C++
void __fastcall AssignFieldValue(Data::Db::TField* AField, const System::Variant &AValue)/* overload */;
void __fastcall AssignFieldValue(Data::Db::TField* AField)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FireDAC.Stan.Param.pas FireDAC.Stan.Param.hpp |
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.