Datasnap.Provider.TDataSetProvider.FindRecord
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: protected | |
| Source: Datasnap.Provider.pas Datasnap.Provider.hpp | |
| Unit: Datasnap.Provider | |
| Parent: TDataSetProvider | |
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);
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.