FireDAC.Comp.DataSet.TFDDataSet.GotoCurrent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure GotoCurrent(ADataSet: TFDDataSet);

C++

void __fastcall GotoCurrent(TFDDataSet* ADataSet);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDDataSet

Description

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

Use GotoCurrent to position the cursor on the same record that is current in the specified dataset. 

ADataSet is the cloned dataset whose cursor position is used to position on the record in this dataset. GotoCurrent is only useful for synchronizing two cloned datasets that use separate data sources to view and edit the same data.

See Also