Data.DB.TDataSet.BeforeInsert
Delphi
property BeforeInsert: TDataSetNotifyEvent read FBeforeInsert write FBeforeInsert;
C++
__property TDataSetNotifyEvent BeforeInsert = {read=FBeforeInsert, write=FBeforeInsert};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | Data.DB.pas Data.DB.hpp |
Data.DB | TDataSet |
Description
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