Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'Continued' in the header
Message
From
30/12/2014 12:09:48
 
 
To
29/12/2014 12:38:56
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:
01612851
Views:
64
Have you tried the "brute force" method by using two report variables?

old_key = cur_key
cur_key = keyvalue
(make sure that the variables appear in the specified order -- set the initial values so that they're set to the desired types so that you don't get an error in the print when clause)

in the print when of the "continued" message, use expression keyvalue==old_key.

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

Click here to load this message in the networking platform