PgDAC
Used to determine the number of the first statement line in a script.
TDAStatement
property StartLine: integer;
Use the StartLine property to determine the number of the first statement line in a script.