[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Go to the next record in the dataset.
Source position: db.pas line 1656
public procedure TDataSet.Next; |
Next positions the cursor on the next record in the dataset. It is equivalent to a MoveBy(1) operation. Calling this method triggers the TDataset.BeforeScroll and TDataset.AfterScroll events. If the dataset is located on the last known record (EOF is true), then no action is performed, and the events are not triggered.
Calling this method on a closed dataset will result in an EDatabaseError exception.
|
Move the cursor position |
|
|
Go to the previous record |
|
|
Navigate forward to the last record |
|
|
Event triggered before the cursor changes position. |
|
|
Event triggered after the cursor has changed position. |
|
|
Indicates whether the last record has been reached. |