FireDAC.Comp.Script.TFDScriptOptions.BreakOnError

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
FireDAC.Comp.Script.pas
FireDAC.Comp.Script.hpp
Unit: FireDAC.Comp.Script
Parent: TFDScriptOptions

Delphi

property BreakOnError: Boolean read FBreakOnError write FBreakOnError default False;

C++

__property bool BreakOnError = {read=FBreakOnError, write=FBreakOnError, default=0};

Description

Controls the action that a script engine should perform if an error has happened.

Set the BreakOnError property to True to stop the script execution on first error. The default value is False. The property has effect only when IgnoreError is False

The property can be set from a script using the SET BREAK ON|OFF command.

See Also