Datasnap.DBClient.TCustomClientDataSet.GotoCurrent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure GotoCurrent(DataSet: TCustomClientDataSet);

C++

void __fastcall GotoCurrent(TCustomClientDataSet* DataSet);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TCustomClientDataSet

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