Hi, We are developing a report with ireport 5.2.0. The report is based on an ordered SQL query. It is a collection of linked reports that go together to make a suite of reports, one per top group. The data within the group is variable in length, so there is no fixed end point, just that the next row read will have a different group key code. The report is to be printed and it is important that the report is printed in the correct order for duplex printing. The report has three groups, and it iterates round until the group breaks and then passes back to the outer group. Group 1 - one per report suite group 2 - several within group 1 group 3 - one or many within group 2 What we are trying to do is to put page nymbers on the bottom level group - group 3. There may be one or many key group codes within this group and each page should have a page number on it. We are unable to get the page numbering working correctly. We have set up variables to 'count' the the pages reset at group level but the results of this are not giving us what we want. Example, if the groups breaks on a group 3 code, then a footer is printed but sometimes the footer is printed with only a header - in this case the page number does not increment as we have gone over the group. In other cases it doesn't recognise that the last page of the group is the last page of the group, so doesn't print the page number. We are using the built in page_number variable to control another aspect of the report so we are not able to use this for the group 3 page numbering. We have had three experienced iReport developers looking at this and none of us have been able to get the group page numbering working to a satisfactory level. Does anybody know of any techniques that we could use or is there anything external that we could call?? Thanks.