Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditional Heading If Group Flows to Next Page
Message
From
29/08/2001 10:59:03
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
29/08/2001 09:52:15
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00550247
Message ID:
00550331
Views:
20
>>>Is there a way to have a group heading text specify "Group Heading Text (continued)" after the first page it appears on if the detail line data flows to subsequent pages. It's a small thing, but the client would like to see it if possible. Thanks!
>>>
>>>Regards, Renoir
>>
>>See Cathy Pountney's articles in FoxTalk on this. http://www.pinnaclepublishing.com/ft
>>
>>HTH.
>
>Larry,
>
>The articles are at http://www.pinnaclepublishing.com/FT/FTmag.nsf/index/$searchForm!SearchView&Seq=1 for anyone lurking, but I'm just a poor non-subscriber and cannot access them without a subscription.
>
>Renoir

FYI,

The following is an exerpt from Cathy's article:
To add the "continued…" text to this header, you need to start by adding a new
report variable named "nGrpLines." Set the "Value to Store" to "1," select the 
Count option, and set the variable to reset at the end of the Group. In the 
Group Header band, add a new field control next to the square box. Use the 
following as the expression:

IIF(nGrpLines = 0, '', 'continued ...') 

The final step is to tell the Report Writer to print the group heading on the 
top of each page, even if it isn't starting a new group. Do this by checking 
the box that says, "Reprint Header on Subsequent Pages" (or "Reprint group 
header on each page" if using VFP). You can find this check box on the same 
dialog window where you entered the measurement to prevent orphaned groups 
(described earlier).

That's it! Run the report, and you'll get a nice square box and letter at the 
beginning of each group. And whenever a group spans across two pages, you'll 
see the appropriate "continued…" message.
Previous
Reply
Map
View

Click here to load this message in the networking platform