TurboDB VCL Component Library


TTdbTable        See also

Previous  Top  Next

Enables modification of the search key buffer.

Delphi syntax:

procedure EditKey;

C++ syntax:

void __fastcall EditKey(void);


Call EditKey to put the 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.