FireDAC.Comp.Client.TFDMemTable.BeforeEdit
Delphi
property BeforeEdit: TDataSetNotifyEvent read FBeforeEdit write FBeforeEdit;
C++
__property BeforeEdit;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDMemTable |
Description
Occurs before an application enters edit mode for the active record. {{#multireplace:FireDAC.Comp.Client.TFDMemTable.BeforeEdit|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DB.TDataSet.BeforeEdit|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DB.TDataSet.BeforeEdit|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Occurs before an application enters edit mode for the active record.
Write a BeforeEdit event handler to take specific action before an application enables editing of the active record. For example, an application that keeps a log of database edits could use the BeforeEdit event to record the edit request, time, and user before entering edit state.
BeforeEdit is an event handler of type Data.DB.TDataSetNotifyEvent.