Subject Re: :params in GROUP BY
Thank you very much, good alternative solution, now everything works.
This is probably general problem of firebird, not only IbQuery.