Skip to content

TDataSet.IsEmpty

Check if the dataset contains no data.

Declaration

Source position: db.pas line 2077

public 
function TDataSet.IsEmpty : Boolean;

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

Name Description
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.