EPUB | CHM | PDF

TDataSet.Events.BeforeEdit

Top Previous Next

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

Syntax:

property BeforeEdit: TDataSetNotifyEvent;

Description:

Write a BeforeEdit event handler to take specific action before an application enables editing of the active record.

For example, an application might keep a log of database edits, and therefore might record the edit request, time, and user in a BeforeEdit event before entering edit state.