RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DB.TDataAction Enumeration

TDataAction indicates how an application should respond to a database error condition.

Pascal
TDataAction = (
  daFail,
  daAbort,
  daRetry
);
C++
enum TDataAction {
  daFail,
  daAbort,
  daRetry
};

DB

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.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!