Transfooter in RTC Reports

I have already implemented the Transfooter concept as explained in the forum. It is working fine but the report I am working on generated 4 copies of the report . So the report already generates 4 pages. So the sum in the transfooter gets add up for the next pages. But the report actually will be generating multiple pages for each of the 4 copies. So the transfooter should add up the values from the previous pages of each of the copies. How is that possible??