Gets the value of the setting that specifies whether the runtime should be halted in case of an error in the begin transaction.
Kernel.bdh
GetCancelOnErrorInBeginTransaction( ): boolean;
true if the runtime should be halted in case of an error in the begin transaction
false otherwise
dcltrans transaction TInit begin if GetCancelOnErrorInBeginTransaction()then writeln("This virtual user will be halted once the error has" "risen.") end; RepMessage("Custom Error", SEVERITY_ERROR); end TInit;