Datasnap.DBClient.TCustomClientDataSet.GotoKey
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Datasnap.DBClient.pas Datasnap.DBClient.hpp
| |
Unit: Datasnap.DBClient | |
Parent: TCustomClientDataSet |
Delphi
function GotoKey: Boolean;
C++
bool __fastcall GotoKey();
Description
Moves the cursor to a record specified by the current key.
Use GotoKey to move to a record specified by key values assigned with previous calls to SetKey or EditKey and actual search values indicated in the search key buffer.
If GotoKey finds a matching record, it positions the cursor on the record and returns True. Otherwise the current cursor position remains unchanged, and GotoKey returns False.