Data.DB.TDataAction
Delphi
TDataAction = (daFail, daAbort, daRetry);
C++
enum DECLSPEC_DENUM TDataAction : unsigned char { daFail, daAbort, daRetry };
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| enum | public | Data.DB.pas Data.DB.hpp |
Data.DB | Data.DB |
Description
TDataAction indicates how an application should respond to a database error condition.
TDataAction is the type of a parameter in certain dataset event handlers that indicates how the dataset should proceed after the event handler exits. The following table summarizes the possible values:
| Value | Meaning |
|---|---|
|
daFail |
Abort the operation that led to an error and display an error message. |
|
daAbort |
Abort the operation that led to an error without displaying a message. |
|
daRetry |
Repeat the operation that led to an error. The cause of the error should be corrected within the event handler before returning this value. |