Datasnap.DBClient.TCustomClientDataSet.GotoCurrent

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Unit: Datasnap.DBClient
Parent: TCustomClientDataSet

Delphi

procedure GotoCurrent(DataSet: TCustomClientDataSet);

C++

void __fastcall GotoCurrent(TCustomClientDataSet* DataSet);

Description

Sets the current record in this dataset the same as the current record in another, cloned 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.

See Also