FireDAC.Comp.DataSet.TFDDataSet.EditKey
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
- Finding a Record
- FireDAC.Comp.DataSet.TFDDataSet.IndexFields
- FireDAC.Comp.DataSet.TFDDataSet.FindKey
- FireDAC.Comp.DataSet.TFDDataSet.GotoKey
- FireDAC.Comp.DataSet.TFDDataSet.GotoNearest
- FireDAC.Comp.DataSet.TFDDataSet.SetKey
- FireDAC.Comp.DataSet.TFDDataSet.KeyFieldCount
- FireDAC.Comp.DataSet.TFDDataSet.KeyExclusive