PgDAC
Used to get the offset in the first line of the current statement.
TDAScript
property StartOffset: Int64;
Use the StartOffset property to get the offset in the first line of the current statement.