>Hi Sergey,
>
>This looks like a good workaround, however what Ravi did in his report should not be causing this problem, it was simply a combination of a page title band and a group band set to reset page number to 1. This combination caused _pageno to be 1,1,2,3,... when the group on the first page spanned more than 1 page. I could reproduce it on every report that had this combination. If you remove the title band or remove the reset page number for the group band, _pageno increments properly. I could remove the title band and put the title band objects in the page header with print when condition to only print on page 1 and it works fine.
>
>I would consider this a bug (albeit a minor one). Do you know if this has been fixed in later (post VFP6 SP5) versions? I didn't realize this happened, so I now have several reports that I will have to employ this workaround.
I dunno.
--sb--