Data.DB.TParam.AssignField
Delphi
procedure AssignField(Field: TField);
C++
void __fastcall AssignField(TField* Field);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.DB.pas Data.DB.hpp |
Data.DB | TParam |
Description
Assigns the DataType, Name, and Value properties from a TField object.
Use AssignField to set a parameter to represent a particular TField object. AssignField sets the Bound property to true.
Unlike AssignFieldValue, AssignField names the parameter after the field object as well as taking its value.