Data.DB.TDataAction
| [–] Properties | |
|---|---|
| Type: enum | |
| Visibility: public | |
| Source: Data.DB.pas Data.DB.hpp
| |
| Unit: Data.DB | |
| Parent: Data.DB | |
Delphi
TDataAction = (daFail, daAbort, daRetry);
C++
enum DECLSPEC_DENUM TDataAction : unsigned char { daFail, daAbort, daRetry };
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. |