Data.DB.TUpdateAction
Delphi
TUpdateAction = (uaFail, uaAbort, uaSkip, uaRetry, uaApplied);
C++
enum DECLSPEC_DENUM TUpdateAction : unsigned char { uaFail, uaAbort, uaSkip, uaRetry, uaApplied };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Data.DB.pas Data.DB.hpp |
Data.DB | Data.DB |
Description
TUpdateAction Indicates how a dataset should proceed after an event handler has processed an update.
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. |