Bde.DBTables.TTable.EditKey

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure EditKey;

C++

void __fastcall EditKey();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TTable

Description

Enables modification of the search key buffer.

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.

See Also