I blame it on your blonde moment too. <g>.
>
>Sergey and I were both wrong (I'm blaming mine on a blonde moment!). There's no bug .. it's behaving as expected. _PageTotal represents the total number of pages of the report .. however .. if you have told it to reset the page number for each data group, it also resets _PageTotal each time it resets _PageNo. When the report processes the second pass to create the output .. the value of _PageTotal is just left at whatever the last _PageNo was .. which means it ends up being the total number of pages of the LAST data group processed on the report.
>
>If you are using VFP 9 SP2, there is a way to get the totals you want. I described it a while back on message #
1321284.
--sb--