TMedTable.GotoNearest TMedTable

procedure GotoNearest;

Description

Use GotoNearest to move to record specified by the current values in key buffer or to the first record with larger key field values. If no such records exist, cursor is positioned on the last table record.

Use SetKey, EditKey and FieldByName methods to set key values before calling GotoNearest.

Key values must correspond to fields of the current index as set with IndexName. This index is used to perform a search.

See TTable.GotoNearest for more details.