Occurs before an application enters edit mode for the active record.
property BeforeEdit: TDataSetNotifyEvent;
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.