RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomClientDataSet.GotoCurrent Method

Sets the current record in this dataset the same as the current record in another, cloned dataset.

Pascal
procedure GotoCurrent(DataSet: TCustomClientDataSet);
C++
__fastcall GotoCurrent(TCustomClientDataSet DataSet);

Call GotoCurrent to position the cursor on the same record that is current in the specified dataset. DataSet is the cloned dataset whose cursor position is to be matched in this dataset. 

GotoCurrent is only useful for synchronizing two client datasets that use separate data sources to view and edit the same data. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!