Skip to content

TParam.AssignToField

Assign parameter value to field.

Declaration

Source position: db.pas line 1457

public 
procedure TParam.AssignToField(Field: TField);

Description

AssignToField copies the parameter value to the field instance. If Field is Nil, nothing happens.

Errors

An EDatabaseError exception is raised if the field has an unsupported field type (for types ftCursor, ftArray, ftDataset,ftReference).

See also

Name Description
TParam.Assign Assign one parameter instance to another.
TParam.AssignField Copy value from field instance.
TParam.AssignFromField Copy field type and value.