Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Adding Continued to Group Name Post Reply Post New Topic
Author Message
akafrog18
Newbie
Newbie
Avatar

Joined: 19 Aug 2009
Location: United States
Online Status: Offline
Posts: 3
Quote akafrog18 Replybullet Topic: Adding Continued to Group Name
    Posted: 19 Aug 2009 at 8:45am
I am very new to Crystal Reports XI.  I have been messing around with it for about 2 hours now.  I have created a very simple report based on data from an Excel worksheet.  Based on some research I have done I was able to find how to make the group name repeat on the next page if the data is broke across two pages.  On the same website they gave me a formula to show Continued after the group name if it was repeated on a second page.  I have been working for about 30 minutes to get it to work but I can't figure it out.  The code they give me is listed below.  Where do I put this in Crystal?  The more detailed the instructions could be, would be very helpful.


If InRepeatedGroupHeader then “Continued”

Thanks for all the help in advance.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 19 Aug 2009 at 9:21am
Not sure exactly where they were referencing but here is one way to accomplish this.
Right click on the group header field.
Select the Common tab.
Midway in the window there is a "Display String" with a formula box option (X-2).
Click on the formula option.
In the formula window add the following formula:
{table.groupedfieldhere} + If InRepeatedGroupHeader then ' Continued'
Save and close.
Hit OK.
Check your results.
IP IP Logged
akafrog18
Newbie
Newbie
Avatar

Joined: 19 Aug 2009
Location: United States
Online Status: Offline
Posts: 3
Quote akafrog18 Replybullet Posted: 19 Aug 2009 at 10:27am
That worked perfectly.  Thanks for all the help.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.