FireDAC.Comp.DataSet.TFDDataSet.EditKey

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
Unit: FireDAC.Comp.DataSet
Parent: TFDDataSet

Delphi

procedure EditKey;

C++

void __fastcall EditKey();

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