EhLib
ContentsIndexHome
PreviousUpNext
TBDEDataDriverEh.OnUpdateError Event

Occurs when it is necessary to update error when it happens in process of changing a record in TDataDriverEh.

Pascal
property OnUpdateError: TDataDriverUpdateErrorEhEvent;

write this event to respond certain actions when error is arising in time of processing updates. 

Following reaction is possible when error is arising: 

ueaBreakAbortEh Break this and all following operations of changes, exception is not raising. 

ueaBreakRaiseEh Break this and all following operations of changes, rollback transactions, exception is raising. 

ueaCountinueEh Ignore an error, does not change a status of a record and continue a performing the rest operations. 

ueaRetryEh Repeat an operation (You should undertake actions to prevent this error on next time). 

ueaUpdated CountinueSkip Ignore an error, set record status to Unchanged, continue a performing the rest operations. 

You can call DefaultUpdateError to execute actions by default

Copyright (c) 1998-2013. All rights reserved.
What do you think about this topic? Send feedback!