Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'Continued' in the header
Message
From
29/12/2014 16:29:48
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01612786
Message ID:
01612805
Views:
57
>>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=493823

I'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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform