FireDAC.Comp.DataSet.TFDDataSet.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
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDDataSet

Description

Enables modification of the search key buffer.

Use EditKey to put the dataset into the dsSetKey state, preserving the current contents of the search key buffer. 

After the call, the application can modify indexed fields. To iterate through them, use the IndexFieldCount and IndexFields properties. Optionally, the value of the KeyFieldCount and/or KeyExclusive properties can be edited.

See Also