It's SP2 bug. See
http://cathypountney.blogspot.com/2007/11/gotcha-serious-report-bug-with-data.html. Check possible workaround at
http://cathypountney.blogspot.com/2007/12/gotcha-workaround-for-data-group-bug.html>
>After updating VFP9 to SP2, reports using data grouping with the options 'group starts on new page' and 'reprint group header on each page' when the group footer advances to the next page, the report showed the header of the next group and the totalization of the previous group, like this:
>
>
>GROUP HEADER: FRUITS
>----------------------
>
>APPLE $10.00
>ORANGE $ 5.00
>PINEAPPLE $10.00
>
>-----PAGE BREAK-------
>
>GROUP HEADER: CANDY (HEADER FOR THE NEXT GROUP! DOESN'T APPEAR IN SP1)
>
>GROUP TOTAL: $25.00 (TOTALIZATION OF THE PREVIOUS GROUP!)
>
>-----PAGE BREAK-------
>
>GROUP HEADER: CANDY
>
>CHOCOLAT $15.00
>BUBBLE GUM $ 5.00
>
>GROUP TOTAL: $20.00
>
>.
>.
>.
>
>Is there any workaround to fix it?
>
>Thank you!
>
>Carlos Henrique Nogueira
--sb--