Applies toTIB_Statement
DeclarationFunction AddSQLHistory(ASQL: TStrings; Position: integer ): boolean;
DescriptionAdds the current statement to the statement history depending on where the SQLHistoryRef property is set.