Data.DB.TDataSet.GetPriorRecords
Delphi
function GetPriorRecords: Integer; virtual;
C++
virtual int __fastcall GetPriorRecords();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Data.DB.pas Data.DB.hpp |
Data.DB | TDataSet |
Description
Moves to the first record of the dataset.
GetPriorRecords moves to the first record of the dataset through every record and returns the number of records passed from the current position to the first position.
For unidirectional datasets, GetPriorRecords returns 0.