SDAC
Used to get the offset in the last line of the statement.
TDAStatement
property EndOffset: integer;
Use the EndOffset property to get the offset in the last line of the statement.