Sign in Join
FPDoc Onlineexperiment

TMemDataset.AfterInsert property

Member of TMemDatasetpublishedIn unit MemDs

Event triggered after the dataset is put in insert mode.

Declaration

pascal
property AfterInsert:;

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 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.

This description is the one of DB.TDataSet.AfterInsert.

See also

  • BeforeInsert
  • AfterScroll
  • Append
  • Insert

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.