[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Copy field type and value
Source position: db.pas line 1199
public procedure TParam.AssignFromField( |
Field: TField |
); |
Field |
|
Field to copy type and value from. |
AssignFromField copies the field value and data type (TField.DataType) to the parameter instance. If Field is Nil, nothing happens. This is the reverse operation of TParam.AssignToField.
An EDatabaseError exception is raised if the field has an unsupported field type (for types ftCursor, ftArray, ftDataset,ftReference).
|
Assign one parameter instance to another |
|
|
Copy value from field instance |
|
|
Assign parameter value to field |