EPUB | CHM | PDF

TMySQLBatchExecute.Properties Statement Position Properties

Top Previous Next

These properties contain information about position of current statement in the script to be executed.

Syntax:

property StatementAbsoluteBeginCharacter: Cardinal;
property StatementAbsoluteEndCharacter: Cardinal;
property StatementBeginCharacter : Cardinal;
property StatementBeginLine : Cardinal;
property StatementEndCharacter : Cardinal;
property StatementEndLine : Cardinal;

Description:

In run-time these properties contain the information about position of current statement in executed script. You can use these properties to highlight current statement in TMemo component in case of any error.

StatementBeginLine

The first line number of the statement, starts from 1.

StatementEndLine

The last line number of the statement, started from 1.

StatementBeginCharacter

Character number in StatementBeginLine string where current statement starts. Characters numbering is started from 1.

StatementEndCharacter

Character number in StatementEndLine string where current statement ends. Characters numbering is started from 1.

StatementAbsoluteBeginCharacter

Character number in whole SQL script where current statement begins. Characters numbering is started from 1.

StatementAbsoluteEndCharacter

Character number in whole SQL script where current statement begins. Characters numbering is started from 1.