API:Bde.DBTables.TBDEDataSet.BeforeEdit

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: event
Visibility: published
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TBDEDataSet

Delphi

property BeforeEdit;

C++

__property BeforeEdit;

Description

Occurs before an application enters edit mode for the active record.

Bde.DBTables.TBDEDataSet.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.

See Also

Code Examples