The Result Data Newsletter   
Volume 703 - March 2007   
© Copyright 2007 Result Data Consulting, Ltd.  614-505-0770  www.resultdata.com   

    Result Data Home Page  |  Newsletter Archive  |  Upcoming Events  |  Classes & Workshops  |  Request Information
Upcoming Events: 3/23: SQL Server User's Group, 4/11: Business Objects Seminar, 5/2: MOBOUG

Return to Newsletter Contents...

 

Crystal Reports Repeated Group Headers

by: Kristen St. Jean, BI Specialist, CRCP

Crystal Reports has many functions that we can take advantage of to create calculations and/or manipulate the ways that our data displays.

This month we will discuss a function specific to groups.

In Crystal Reports there is a feature to force group headers to repeat on each page.  This can be done by checking the box next to "Repeat Group Header on Each Page" on the Options tab when inserting or changing a group. 

When paging through a report where a group spans multiple pages you can sometimes think you are looking at the beginning of the group when you're not. What would be nice would be to show the word "continued" on each group header after the first one for a given group.

Crystal has a function that can help with this. The function is InRepeatedGroupHeader

It works like this: if your group spans over multiple pages and you've turned on "Repeat Group Header on Each page" in the Group Options dialog box, then you can make your display on the second (third, etc) pages say "Continued…"  This can be done in one of two ways.  First, you could create a formula and place it in your Group Header.

Example:  This group is based on Country:

  if InRepeatedGroupHeader then

  { Addresses.Country} + " continued..."

  else

  {Addresses.Country}

The second option is to create a text object next to your group title that says “Continued…”, then you could conditionally format this text object by going into the format editor and clicking the X+2 box by ‘Suppress’ and in the suppression formula we would put the following formula:

 not InRepeatedGroupHeader

Both of these will give you the same results with “Continued..” displaying after your group title if the group spans multiple pages, so choose the method that you like best.

Go to Top  |  Return to Newsletter Contents

The Result Data Newsletter is published approximately once a month to share the latest information on business intelligence, data management and CRM. There should be a link below to allow you to change or remove yourself from our list. We take your requests very seriously. If you have any difficulty please contact us at 614-505-0770 and we will make sure that your request is handled properly. This is not intended to be an unsolicited message and you can reach us in person if needed.

© Copyright 2007 Result Data Consulting, Ltd. - All Rights Reserved
All trademarks and copyrights are the property of their respective owners. This information is provided without warranty.
Announcements
Implementing XI R2 Business Views Class in May
If you need to create Business Views in BusinessObjects Enterprise XI, you need to attend this class.  BusinessObjects XI R2: Implementing Business Views will be held May 21/22 and is guaranteed to run.

Click on the class name to get additional  information or to register.
Next Business Objects BI Seminar
The next free Business Objects seminar on is April 11th, 2007.  Call 614-505-0770 or click here to reserve your seat.
New SQL Server User Group
Result Data and Babbage-Simmel are working together with Microsoft to resurrect the SQL Server User Group.  Our next meeting will be held on March 23rd from 1:00 to 3:30 at the Microsoft Polaris office.  Seating is limited and registration is requested.  Click here to register.
Private Training Classes & Mentoring
Ask us about our private classes and mentoring services and how they can help your team get up the curve fast. 
Next MOBOUG Meeting
The next Mid-Ohio Business Objects User Group (MOBOUG) meeting is May 2nd, 2007.  Call 614-505-0770 or click here to reserve your seat.
Looking for a Few Good Men and Women
Join our award winning team of Business Intelligence consultants and .Net Software developers.

Send your resume and salary requirements to:
jobs@resultdata.com