RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TParam.AssignField Method

Assigns the DataType, Name, and Value properties from a TField object.

Pascal
procedure AssignField(Field: TField);
C++
__fastcall AssignField(TField Field);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!