IBX.IBCustomDataSet.TIBUpdateRecordEvent
C++
typedef void __fastcall (__closure *TIBUpdateRecordEvent)(Data::Db::TDataSet* DataSet, Data::Db::TUpdateKind UpdateKind, TIBUpdateAction &UpdateAction);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
typedef | public | IBX.IBCustomDataSet.hpp | IBX.IBCustomDataSet | IBX.IBCustomDataSet |
Description
TIBUpdateRecordEvent is the type of event handlers that respond when an IBX dataset applies a cached update.
DataSet is the dataset that is applying updates.
UpdateKind whether the current update is the insertion of a record, the deletion of a record, or the modification of a record.
UpdateAction indicates the action taken by the OnUpdateRecord handler before it exits. On entry into the handler, UpdateAction is always set to uaFail. If OnUpdateRecord is successful, it should set UpdateAction to uaApplied before exiting.