Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix


TACRTable.GotoNearest
TACRTable
Top 

Moves the cursor to the record that most closely matches the current key.

procedure GotoNearest;

Description
Call GotoNearest to position the cursor on the record that is either the exact record specified by the current key values in the key buffer, or on the first record whose values exceed those specified.

Note:   KeyExclusive determines which records are considered part of a search range.

Before calling GotoNearest, an application must specify key values by calling SetKey or EditKey to put the dataset is dsSetKey state, and then use FieldByName to populate the key buffer property with search values.


© AidAim Software Accuracer: Client-server Database Single-file Database Delphi Database Embedded Databas