Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TDataSet.AfterInsert

Event triggered after the dataset is put in insert mode.

Declaration

Source position: db.pas line 1973

public property TDataSet.AfterInsert : TDataSetNotifyEvent
  read FAfterInsert
  write FAfterInsert;

Description

AfterInsert is triggered after the dataset has finished putting the dataset in dsInsert state and it has initialized the new record buffer. This event can be used e.g. to set initial field values. After the Afterinsert event, the TDataset.AfterScroll event is still triggered. Raising an exception in the AfterInsert event, will prevent the AfterScroll event from being triggered, but does not undo the insert or append operation.

See also

TDataset.BeforeInsert

  

Event triggered before the dataset is put in insert mode.

TDataset.AfterScroll

  

Event triggered after the cursor has changed position.

TDataset.Append

  

Append a new record to the data.

TDataset.Insert

  

Insert a new record at the current position.


Documentation generated on: Oct 27 2024