RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IBCustomDataSet.TIBUpdateRecordEvent Type

TIBUpdateRecordEvent is the type of event handlers that respond when an IBX dataset applies a cached update.

Pascal
TIBUpdateRecordEvent = procedure (DataSet: TDataSet; UpdateKind: TUpdateKind; var UpdateAction: TIBUpdateAction) of object;
C++
(DataSet: TDataSet; UpdateKind: TUpdateKind; var UpdateAction: TIBUpdateAction) ( TIBUpdateRecordEvent)();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!