Subject RE: [IBO] Firebird 2.0: Bug when re-using a TIBOQuery component
Author Jason Wharton
Ok, I think I figured out the crux of the problem.

This may not be how I chose to fix this in the next release but please make
this adjustment to the GetIsSelectSQL method and tell me how it works for
you.

This is around line 21,536:

function TIB_Statement.GetIsSelectSQL: boolean;
begin
Result := ( StatementType in [stSelect, stSelectForUpdate] ) or
SQLIsExecuteBlock;
end;

Hope this helps,
Jason Wharton