IRepositoryScriptCallback.EndStatement

Syntax

EndStatement(bError: Boolean; Message: String; Var Cancel: Boolean);

EndStatement(bError: Boolean; Message: String; Var Cancel: Boolean);

Parameters

bError. It indicates whether there is an error on query execution. The parameter returns True if error occurs when executing the query passed in the Statement parameter of the BeginStatement event.

Message. Error message that occurred when executing the query.

Cancel. Variable that determines whether the rest of the script queries are executed. If the variable value is True, script executing will be stopped, if not, it will be continued.

Description

The EndStatement method implements an event that takes place after the query execution.

Comments

When changing the Cancel parameter it is possible to process the situations that can occur on executing the query in this event. Executing query is passed in the Statement parameter of the BeginStatement event.

Fore and Fore.NET Examples

The example of use is given in description of the IRepositoryScriptCallback.OnStart method.

See also:

IRepositoryScriptCallback