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

TDataSet.IsEmpty

Check if the dataset contains no data

Declaration

Source position: db.pas line 1699

public function TDataSet.IsEmpty: Boolean;

Function result

True if the dataset has no data available.

Description

IsEmpty returns True if the dataset is empty, i.e. if EOF and TDataset.BOF are both True, and the dataset is not in insert mode.

See also

TDataset.EOF

  

Indicates whether the last record has been reached.

TDataset.BOF

  

Is the cursor at the beginning of the data (on the first record)

TDataset.State

  

Current operational state of the dataset


Documentation generated on: Jun 22 2020