PgDAC
Used to get the offset in the first line of a statement.
TDAStatement
property StartOffset: integer;
Use the StartOffset property to get the offset in the first line of a statement.