>>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
>
>Check this solution
>
>
http://www.tek-tips.com/viewthread.cfm?qid=493823I'm obviously missing something pretty basic.
My solution above is very similar to the one in the link, I think.
This is what I did:
In the program:
PUBLIC ucHeader
ucHeader = 'Hello this is not a valid header'
In the 'On Exit' of the Group Header:
ucHeader = SectionCode
In the Group Header band I have a field that says 'Continued'. In the 'print when' I have
ucHeader = SectionCode
This field never prints. Obviously the 'On exit' of the group header never executed!
I'm confused.
Thanks,
Yossi