>Hi All:
>
>In the report header, I want to say 'Continued' if it goes for more than one page. My method of doing this is not working.
>
>This is what I'm doing:
>
>In the program that issues the REPORT command, I say:
>
>
>llReportCont = .f.
>
>
>In the Group Header I say:
>
>
>'Section' + SectionCode + iif(llReportCont, ' (Continued)', "")
>
>
>Then in the group header, the 'Upon Exit' I say:
>
>
>llReportCont = .t.
>
>
>And finally in the Report footer in the 'Upon Entry' (doesn't really matter which):
>
>llReportCont = .f.
>
>
>This is not working. What is wrong?
>
>Thanks,
>
>Yossi
You might try something like........
In the Data Grouping..........do you have an option for Group Starts on New Page Number 1???
If so, then in the group header you can use
IIF(_pageno > 1, "Continued","")
rather than using llReportCont