Sign in Join
FPDoc Onlineexperiment

TField.Clear procedure

Member of TFieldpublicIn unit DB

Clear the field contents.

Declaration

pascal
procedure Clear; virtual

Description

Clear clears the contents of the field. After calling this method the value of the field is Null and IsNull returns True.

The dataset must be in edit mode to execute this method.

Errors

If the dataset is not in one of the edit modes, then executing this method will raise an EDatabaseError exception.

See also

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