API:FireDAC.Phys.MongoDBDataSet.TFDMongoDataSet.BeforeEdit
Delphi
property BeforeEdit: TDataSetNotifyEvent read FBeforeEdit write FBeforeEdit;
C++
__property BeforeEdit;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | FireDAC.Phys.MongoDBDataSet.pas FireDAC.Phys.MongoDBDataSet.hpp |
FireDAC.Phys.MongoDBDataSet | TFDMongoDataSet |
Description
Occurs before an application enters edit mode for the active record. FireDAC.Phys.MongoDBDataSet.TFDMongoDataSet.BeforeEdit inherits from Data.DB.TDataSet.BeforeEdit. All content below this line refers to Data.DB.TDataSet.BeforeEdit.
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.