TUpdateAction Indicates how an a dataset should proceed after an event handler has processed an update.
TUpdateAction = ( uaFail, uaAbort, uaSkip, uaRetry, uaApplied );
enum TUpdateAction { uaFail, uaAbort, uaSkip, uaRetry, uaApplied };
TUpdateAction is the type of a parameter on event handlers that intervene when applying cached updates (without using a client dataset and provider). The following table lists the possible values:
|
Value |
Meaning |
|
uaAbort |
Abort the update operation without displaying an error message. |
|
uaApplied |
The event handler applied the update (not used in error handling event handlers). Free the current record update from the cache. |
|
uaFail |
Abort the update operation and display an error message. |
|
uaRetry |
Repeat the update operation that originally raised the error condition (not used in OnUpdateRecord event handlers). |
|
uaSkip |
Skip updating the current record and leave the unapplied changes in the cache. |
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|