FireDAC.Comp.Client.TFDTable.BeforeInsert

From RAD Studio API Documentation

Delphi

property BeforeInsert: TDataSetNotifyEvent read FBeforeInsert write FBeforeInsert;

C++

__property BeforeInsert;

Properties

Type Visibility Source Unit Parent
event published
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDTable

Description

Occurs before an application enters insert mode. {{#multireplace:FireDAC.Comp.Client.TFDTable.BeforeInsert|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DB.TDataSet.BeforeInsert|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DB.TDataSet.BeforeInsert|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Occurs before an application enters insert mode.

Write a BeforeInsert event handler to take specific action before an application inserts or appends a new record. The Insert or Append method generates a BeforeInsert method before it sets the dataset into dsInsert state.

BeforeInsert is an event handler of type Data.DB.TDataSetNotifyEvent.

See Also

Code Examples