Data.DB.TParam.AssignFieldValue
Delphi
procedure AssignFieldValue(Field: TField; const Value: Variant);
C++
void __fastcall AssignFieldValue(TField* Field, const System::Variant &Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.DB.pas Data.DB.hpp |
Data.DB | TParam |
Description
Assigns the DataType and Value properties from a TField object.
Use AssignFieldValue to set the Value property to the value passed as the Value parameter. AssignFieldValue assumes that the Value represents a value from a field like the Field parameter, and assigns the DataType property accordingly. AssignFieldValue sets the Bound property to true.
Unlike AssignField, AssignFieldValue does not name the parameter after the field object.