Datasnap.DBClient.TCustomClientDataSet.FindRecord
Delphi
function FindRecord(Restart, GoForward: Boolean): Boolean; override;
C++
virtual bool __fastcall FindRecord(bool Restart, bool GoForward);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | Datasnap.DBClient.pas Datasnap.DBClient.hpp |
Datasnap.DBClient | TCustomClientDataSet |
Description
Implements a virtual method for positioning the dataset on a specific record, respecting any filters. {{#multireplace:Datasnap.DBClient.TCustomClientDataSet.FindRecord|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DB.TDataSet.FindRecord|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DB.TDataSet.FindRecord|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.