Data.DB.TDataSet.BeforeEdit

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: event
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TDataSet

Delphi

property BeforeEdit: TDataSetNotifyEvent read FBeforeEdit write FBeforeEdit;

C++

__property TDataSetNotifyEvent BeforeEdit = {read=FBeforeEdit, write=FBeforeEdit};

Description

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