Skip to content

TField.Assign

Copy properties from one TField instance to another.

Declaration

Source position: db.pas line 418

public 
procedure TField.Assign(Source: TPersistent);  override;

Description

Assign is overridden by TField to copy the field value (not the field properties) from Source if it exists. If Source is Nil then the value of the field is cleared.

Errors

If Source is not a TField instance, then an exception will be raised.

See also

Name Description
TField.Value Value of the field as a variant value.