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

TDataSet.First

Position the dataset on the first record.

Declaration

Source position: db.pas line 1695

public procedure TDataSet.First;

Description

First positions the dataset on the first record. This action will trigger the TDataset.BeforeScroll and TDataset.AfterScroll events. After the action is completed, the TDataset.BOF property will be True.

Errors

If the dataset is unidirectional or is closed, an EDatabaseError exception will be raised.

See also

TDataset.Prior

  

Go to the previous record

TDataset.Last

  

Navigate forward to the last record

TDataset.Next

  

Go to the next record in the dataset.

TDataset.BOF

  

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

TDataset.BeforeScroll

  

Event triggered before the cursor changes position.

TDataset.AfterScroll

  

Event triggered after the cursor has changed position.


Documentation generated on: May 14 2021