RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetProvider.LocateRecord Method

Positions a data set on the record that corresponds to the current update in a specified delta packet.

Pascal
procedure LocateRecord(Source: TDataSet; Delta: TDataSet); override;
C++
virtual __fastcall LocateRecord(TDataSet Source, TDataSet Delta);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!