_PageTotal represents the total number of pages for the entire report. It has nothing to do with number of pages in a group. Resetting the page number on groups will not affect this variable.
>Hi,
>
>I have a report which group by invoice no., and I have a page no. print on the report header using _pageno of _pagetotal.
>I set the page no. will reset to 1 on new page when the group change,
>but I find that the first page of the first group always are 1 of 2 even
>the first group is only 1 page.
>I think it should be 1 of 1, why the output is 1 of 2 ?
>
>Please advise.
>
>Derek