Datasnap.Provider.TDataSetProvider.LocateRecord
Delphi
procedure LocateRecord(Source, Delta: TDataSet); override;
C++
virtual void __fastcall LocateRecord(Data::Db::TDataSet* Source, Data::Db::TDataSet* Delta);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | TDataSetProvider |
Description
Positions a dataset on the record that corresponds to the current update in a specified delta packet.
LocateRecord is called indirectly by the RowRequest method to locate a record before fetching information about it. The Source parameter is the dataset containing current record values. The Delta parameter is a delta packet that identifies the desired type of information and information identifying the desired record.
LocateRecord uses the criteria specified by UpdateMode to identify the desired record.