FireDAC.Phys.MongoDBDataSet.TFDMongoDataSet.BeforeInsert

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: event
Visibility: published
Source:
FireDAC.Phys.MongoDBDataSet.pas
FireDAC.Phys.MongoDBDataSet.hpp
Unit: FireDAC.Phys.MongoDBDataSet
Parent: TFDMongoDataSet

Delphi

property BeforeInsert;

C++

__property BeforeInsert;

Description

Occurs before an application enters insert mode.

FireDAC.Phys.MongoDBDataSet.TFDMongoDataSet.BeforeInsert inherits from Data.DB.TDataSet.BeforeInsert. All content below this line refers to Data.DB.TDataSet.BeforeInsert.

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