IBX.IBCustomDataSet.TIBDataSet.OnPostError
Delphi
property OnPostError;
C++
__property OnPostError;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | IBX.IBCustomDataSet.pas IBX.IBCustomDataSet.hpp |
IBX.IBCustomDataSet | TIBDataSet |
Description
Occurs when an application attempts to modify or insert a record and an exception is raised.
IBX.IBCustomDataSet.TIBDataSet.OnPostError inherits from Data.DB.TDataSet.OnPostError. All content below this line refers to Data.DB.TDataSet.OnPostError.
Occurs when an application attempts to modify or insert a record and an exception is raised.
Write an OnPostError event handler to handle exceptions that occur when an attempt to post a record fails.
For Data.DB.TDataSetErrorEvent, the DataSet parameter specifies the dataset that generated the E exception, while the Action parameter should be set by the developer with one of the possible actions defined by TDataAction (daFail, daAbort, or daRetry).
OnPostError is an event handler of type Data.DB.TDataSetErrorEvent.