Data.DB.TDataSet.FindFirst
From RAD Studio API Documentation
Delphi
function FindFirst: Boolean;
C++
bool __fastcall FindFirst(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Data.DB.pas Data.DB.hpp |
Data.DB | TDataSet |
Description
Implements a virtual method for positioning the dataset on the first record, respecting any filters.
This function returns false, indicating that the active record was not successfully changed. Descendant classes override FindFirst to make the first record active, honoring any filters that are in effect. In descendant classes, FindFirst returns true if the active record is successfully changed.