Sign in Join
FPDoc Onlineexperiment

TDataSet.Next procedure

Member of TDataSetpublicIn unit DB

Go to the next record in the dataset.

Declaration

pascal
procedure Next

Description

Next positions the cursor on the next record in the dataset. It is equivalent to a MoveBy(1) operation. Calling this method triggers the BeforeScroll and 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.

Errors

Calling this method on a closed dataset will result in an EDatabaseError exception.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.