Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Create a Repeating/Conditional Group Header

Status
Not open for further replies.

CRadel

Technical User
Jun 3, 2011
15
US
Hi. This forum was so helpful yesterday, so I'm hoping for another dose of good luck today!

I have a report where the data in some of my groups spill over onto multiple pages. I'd like the group headers to repeat on any additional pages, with the word "continued". So the group header on the first page would be "Members" and then on any additional pages it would say "Members (continued)".

Can anyone help me with a formula to do this, in language a fairly new user can understand?

Thanks so much in advance!

Carol (a grateful newbie)
 
Replace the groupname with a formula:

if inrepeatedgroupheader then
{table.groupfield} + " (continued)" else
{table.groupfield}

-LB
 
Thanks lbass, but something is still not working.

I have the following:

if inrepeatedgroupheader then {CR__Membership_Monthly_Counts.Mem_Cur_Category_description} + " (continued)" else {CR__Membership_Monthly_Counts.Mem_Cur_Category_description}

Can you tell from this what is wrong?

Thanks!
 
What isn't working? If you didn't do it when you set up the group, go into the report->group expert->group->options and check "Repeat group headers on each page".

-LB
 
Thank you! That was it - now it's perfect!

It's hard being new at something like this - I really appreciate your help!

Carol
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top