Skip to content

TDataSet.BOF

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

Declaration

Source position: db.pas line 1948

public property BOF: Boolean;

Description

BOF returns True if the first record is the first record in the dataset, False otherwise. It will always be True if the dataset is just opened, or after a call to TDataset.First. As soon as TDataset.Next is called, BOF will no longer be true.

See also

Name Description
TDataset.EOF Indicates whether the last record has been reached.
TDataset.Next Go to the next record in the dataset.
TDataset.First Position the dataset on the first record.