>Give this a try:
>
>Create a report variable called rnGrpLines, set the Calculate option to Count, and set it to reset at the Data Group.
>
>In the Group Header, make the expression for company be as follows:
>alltrim(company) + IIF(rnGrpLines = 0, "", " -- continued")
>
>
>Cathy
Hi Cathy,
This worked very well indeed, thanks a lot. However, I can not make the other part of the trick work for me. I also want to have "continued on the next page" printed on the page that is going to span two pages. I put
IIF(rnGrpLines > 0, "", " continued on the next page") and set variable to 0 in the Group Footer onExit, but it doesn't print.
I have two groups. Just in case I created a separate variable for the inner group and tried to combine both using OR condition, but it still doesn't want to print.
What can I do to make it print?
Thanks in advance.
If it's not broken, fix it until it is.
My Blog