RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomClientDataSet.EditKey Method

Enables modification of the search key buffer.

Pascal
procedure EditKey;
C++
__fastcall EditKey();

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!