FireDAC.Comp.Client.TFDMemTable.OnNewRecord

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnNewRecord: TDataSetNotifyEvent read FOnNewRecord write FOnNewRecord;

C++

__property OnNewRecord;

Properties

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

Description

Occurs when an application inserts or appends a new dataset record.

FireDAC.Comp.Client.TFDMemTable.OnNewRecord inherits from Data.DB.TDataSet.OnNewRecord. All content below this line refers to Data.DB.TDataSet.OnNewRecord.

Occurs when an application inserts or appends a new dataset record.

Write an OnNewRecord event handler to take specific actions as an application inserts or appends a new record. OnNewRecord is called as part of the insert or append process. An application might use the OnNewRecord event to set initial values for a record or as a way of implementing cascading insertions in related datasets.

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

See Also