Sign in Join
FPDoc Onlineexperiment

TParam.Assign procedure

Member of TParampublicIn unit DB

Assign one parameter instance to another.

Declaration

pascal
procedure Assign(Source: TPersistent); override

Arguments

Source

Source object to copy value from.

Description

Assign copies the Name, ParamType, Bound, Value, Size Precision and NumericScale properties from ASource if it is of type TParam. If Source is of type TField, then it is passed to AssignField. If Source is of type TStrings, then it is assigned to AsMemo.

Errors

If Source is not of type TParam, TField or TStrings, an exception will be raised.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.