FireDAC.Comp.Client.TFDStoredProc.OnEditError

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnEditError: TDataSetErrorEvent read FOnEditError write FOnEditError;

C++

__property OnEditError;

Properties

Type Visibility Source Unit Parent
event published
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDStoredProc

Description

Occurs when an application attempts to modify or insert a record and an exception is raised.

FireDAC.Comp.Client.TFDStoredProc.OnEditError inherits from Data.DB.TDataSet.OnEditError. All content below this line refers to Data.DB.TDataSet.OnEditError.

Occurs when an application attempts to modify or insert a record and an exception is raised.

Write an OnEditError event handler to handle exceptions that occur when an attempt to edit a record fails.

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).

OnEditError is an event handler of type Data.DB.TDataSetErrorEvent.

See Also