[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'db' (#fcl)

TDataSet.ClearFields

Clear the values of all fields

Declaration

Source position: db.pas line 1292

public procedure TDataSet.ClearFields;

Description

ClearFields clears the values of all fields.

Errors

If the dataset is not in editing mode (State in dsEditmodes), then an EDatabaseError exception will be raised.

See also

TDataset.State

  

Current operational state of the dataset

TField.Clear

  

Clear the field contents.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.