Show: Delphi C++
Display Preferences

Data.DB.TDataSet.Next

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Next;

C++

void __fastcall Next();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

Description

Moves to the next record in the dataset.

Call Next to move to the next record in the dataset, making it the active record. Next posts any changes to the active record and

Sets the Bof and Eof properties to false.

Fetches the next record and makes it the active record.

If the dataset is not unidirectional, fetches any additional records required for display, such as those needed to fill out a grid control.

Sets the Eof property to true if the last record in the dataset was already active.

Broadcasts the record change so that data controls and linked detail sets can update.

Note: TDataSet uses internal, protected methods to move the active record and to fetch additional records required for display. In TDataSet, these internal methods are empty stubs. Descendant classes implement these methods to enable the Next method to work.

See Also


Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance