EPUB | CHM | PDF

TMySQLTable.Methods.GotoCurrent

Top Previous Next

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

Syntax:

procedure GotoCurrent(Table: TMySQLTable);

Description:

Call GotoCurrent to synchronize the cursor position for this table with 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, GotoCurrent raises an exception.

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.