>I thought about that but i don't know how many groups1 i will have and i wanted to let the report to do the "dirty work" :)
I don't see how # of groups is relevant. If you can get SUM()/COUNT() in the report fields, you can get the same result with report variables.
--sb--