Datasnap.Provider.TDataSetProvider.FindRecord
Delphi
function FindRecord(Source, Delta: TDataSet; UpdateMode: TUpdateMode): Boolean; virtual;
C++
virtual bool __fastcall FindRecord(Data::Db::TDataSet* Source, Data::Db::TDataSet* Delta, Data::Db::TUpdateMode UpdateMode);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | TDataSetProvider |
Description
Finds a data record.
The FindRecord method locates a data record in the given DataSet. The Delta parameter is a delta packet that identifies the desired type of information and information identifying the desired record. The UpdateMode parameter specifies the criteria for locating a record in the dataset when applying updates.
FindRecord returns True if the data record was found, False otherwise.