Datasnap.DBClient.TCustomClientDataSet.EditKey
Delphi
procedure EditKey;
C++
void __fastcall EditKey();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Datasnap.DBClient.pas Datasnap.DBClient.hpp |
Datasnap.DBClient | TCustomClientDataSet |
Description
Enables modification of the search key buffer.
Call EditKey to put the client dataset in dsSetKey state while preserving the current contents of the current search key buffer. To determine current search keys, you can use the IndexFields property to iterate over the fields used by the current index.
EditKey is especially useful when performing multiple searches where only one or two field values among many change between each search.