Icon SetKey Method

void __fastcall SetKey(void)

Usage

Call the SetKey method to put the table into dsSetKey state and clear the current search values. The FieldByName method can then be used to supply a new set of search values prior to conducting a search using the active index. The IndexName or IndexFieldNames property specifies the active index.

Information To modify existing search values, call the EditKey method instead.
Image