Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TField.Assign

Copy properties from one TField instance to another.

Declaration

Source position: db.pas line 418

public procedure TField.Assign(

  Source: TPersistent

); override;

Arguments

Source

  

Source field to copy value from.

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

TField.Value

  

Value of the field as a variant value.


Documentation generated on: Dec 22 2024