RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTable.SetKey Method

Enables setting of keys and ranges for a dataset prior to a search.

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

Call SetKey to put the dataset into dsSetKey state and clear the current contents of the key buffer. The FieldByName method can then be used to supply a new set of search values prior to conducting a search.

Note: To modify an existing key or range, call EditKey.
 

EditKey 

SetRange 

SetRangeEnd 

SetRangeStart 

State 

Executing a Search with Goto Methods

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