EPUB | CHM | PDF

TDataSet.Events.BeforeInsert

Top Previous Next

Occurs before an application enters insert mode.

Syntax:

property BeforeInsert: TDataSetNotifyEvent;

Description:

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.

See also: Example: BeforeInsert, Insert, AsInteger, FieldByName