IBX.IBTable.TIBTable.GotoCurrent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure GotoCurrent(Table: TIBTable);

C++

void __fastcall GotoCurrent(TIBTable* Table);

Properties

Type Visibility Source Unit Parent
procedure
function
public
IBX.IBTable.pas
IBX.IBTable.hpp
IBX.IBTable TIBTable

Description

Synchronizes the current record for this table with the current record of a specified table component.

Call GotoCurrent to synchronize the cursor position for this table based on the cursor position in another dataset that uses a different data source component, but which is connected to the same underlying database table. Table is the name of the table component whose cursor position to use for synchronizing.

Note: This procedure works only for table components that have the same Database and TableName properties. Otherwise an exception is raised.

GotoCurrent is mainly for use in applications that have two table components that are linked to the same underlying database table through different data source components. It enables an application to ensure that separate views of the data appear to be linked.