>>>I have a foxpro report where I want to start a group footer on a new page and con not figure out how to do this. Tried adding a field with chr(12) but that doesn't work.
>>>
>>>Peter
>>
>>You may try adding enough CHR(13) at the end to cause the page break. The question is how to calculate it properly and then to add.
>
>Well, I have created 2 groupings based on the client pk, one for clientpk + "1" and one for clientpk+"2". The second grouping I want on the second page. Have tried creating a field with both the chr(12)+chr(13) and that does not work either.
>
>Peter
No, don't use chr(12). If you want to try my idea, add a field with
replicate(chr(13),20) for example.
However, how can we figure out when to add this field? That's a bit tricky, I think I solved similar problem long time ago that's why I was searching for "odd even" in the Report category, but I think Cathy has more modern way of solving this problem.
If it's not broken, fix it until it is.
My Blog