>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
I always thought _pagetotal gives you the total number of all pages in report. You may want to implement custom counter, but this would require double pass through report...
If it's not broken, fix it until it is.
My Blog