UniDAC
Used to determine the number of the last statement line in a script.
TDAStatement
property EndLine: integer;
Use the EndLine property to determine the number of the last statement line in a script.