FireDAC.Comp.DataSet.TFDDataSet.FindRecord
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: protected | |
| Source: FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp
| |
| Unit: FireDAC.Comp.DataSet | |
| Parent: TFDDataSet | |
Delphi
function FindRecord(Restart, GoForward: Boolean): Boolean; override;
C++
virtual bool __fastcall FindRecord(bool Restart, bool GoForward);
Description
Implements a virtual method for positioning the dataset on a specific record, respecting any filters.
FireDAC.Comp.DataSet.TFDDataSet.FindRecord inherits from Data.DB.TDataSet.FindRecord. All content below this line refers to Data.DB.TDataSet.FindRecord.
Implements a virtual method for positioning the dataset on a specific record, respecting any filters.
The FindRecord method is used by the FindFirst, FindLast, FindNext, and FindPrior methods to make a specific record active, honoring any filters that are in effect. The Restart parameter indicates whether the search starts at the beginning of the dataset.