Skip to main content

TcxCustomDataController.OnBeforeInsert Event

Occurs before inserting a new record if working in unbound or provider mode.

Declaration

property OnBeforeInsert: TcxDataControllerNotifyEvent read; write;

Remarks

Write an OnBeforeInsert event handler to perform specific actions before inserting a record. The Insert and Append methods generate an OnBeforeInsert event before inserting or appending a new record.

Handle the OnAfterInsert event to respond after inserting a record.

See Also