Register now for E-Learning Symposium 2013 Austin
Save $50 by using discount code CAA13B

MicroAssist logo
Contact us: (512) 794-8440  |  info@microassist.com
  • Home
  • Custom E-Learning
    • E-Learning Overview
    • Courseware Development
    • Accessible E-Learning
    • Learning Management Systems
    • E-Learning Case Studies
      • Texas Electronic Death Registrar
      • USDA Meal Re-Imbursement Program
      • Vaccine Education
    • Examples of Our Work
      • Lessons
      • Visual Models
      • Interactions
      • Storytelling
      • Questions
      • Accessibility
      • Statistics
      • Simulations
    • Audio & Video
      • Audio & Video
    • Medical Illustration
    • The Learning Dispatch
  • Classroom Training
    • Classroom Training Overview
      • Our Classrooms
      • SQL Server Training
      • Crystal Reports Training
    • Course List
      • Pricing Inquiry
    • Course Schedule
    • Professional Development
    • Courseware Development
    • Classroom Rental
    • Training FAQ
    • Client Services
      • Student Files
  • Application Development
    • Strategy Development
    • Application Development
      • VPAT
      • Drupal Development Services
  • Resource Center
    • Ask the Experts
    • E-Learning Resources
      • Converting ILT to WBT
      • Instructional Design Interview
      • Debby Kalk Instructional Design Interview
      • MicroAssist Storyboard Template
      • E-Learning Stock Photography
    • Learning Center
      • ILT Newsletter Archive
      • Tips & Traps
      • Cascading Style Sheets
      • Managing Email Effectively
      • Excel 2007 Graphs
      • Best practices for IT training
      • Microsoft Office 2007
      • Crystal Reports Tips
      • Microsoft Office 2010
      • Office 2010 Migration
    • Government Solutions
      • Government Clients
      • Government DBITS
      • Government E-Learning
      • Government ILT Pricing
      • Government Web Development & Management Services
    • Sitemap
    • Screen Backgrounds
  • About MicroAssist
    • History
    • Team
    • Career Opportunities
      • Why MicroAssist?
    • Community Involvement
    • Clients
    • Client Testimonials
    • Client Successes
      • TXDFPS E-Learning Case Study
      • TXDPS Case Study
      • FOL Application Development
      • DARS Training Program
      • TCEQ Custom Training
    • News
      • Front Page
        • MicroAssist receives Small Employer of the Year Award from the Austin Mayor's Committee for People with Disabilities
      • Custom E-Learning
      • Classroom Training
      • Technology services
      • Resource Center
  • Blog
  • Contact Us
    • Information Request Form
    • Office Location
Home » Resource Center » Learning Center » Tips & Traps » Crystal Reports - Prevent an Orphaned Group Header

Crystal Reports - Prevent an Orphaned Group Header

Submitted by admin on Mon, 02/18/2008 - 01:00

Interested in Crystal Reports Training? Check out our Course List to view course outlines!
Can't make it to Austin? We offer Virtual Instructor-Led Training on Crystal Reports!

For more information about  Crystal Reports training, please call (512) 794-8440 or please fill out our Pricing Request Form and we will contact you with more information.

Mention this ad on your registration
for $20 off!

In Crystal Reports (CR), when printing or previewing a report, the Group Header displays at the bottom of the page and the group's records appear on the following page instead of on the same page as the Group Header. This is also known as an orphaned group header.

How do you prevent an orphaned group header?  There are two ways.

Method One:

You can select the 'Keep Group Together' option available in the 'Group Expert', similar to the option found in the 'Section Expert'. You can access the Group Expert through 'Report' on the menu ('Change Group Expert' in CR 8.5 and earlier).

- OR -

Method Two:

  1. Insert a section below the Group Header to create Group Header 1a and Group Header 1b.
  2. Copy all the fields from the Details section into Group Header 1b. Group Header 1b and the Details section must appear in the same format.
  3. Copy the original Group Header into Group Header 1a.
  4. From the 'Report' menu, click 'Section Expert'. (In CR 8.5 and earlier, from the 'Format' menu, click 'Section'.)
  5. From the 'Section Expert' dialog box, select 'Group Header' from the list of sections and select the 'Keep Together' check box.
  6. Select 'Details' from the list of sections and click the 'X + 2' button beside the 'Suppress' check box. Keep this check box unselected.
  7. In the 'Format Formula Editor' dialog box, type the following conditional suppression formula:

 


//This formula conditionally suppresses the first record of the Details //section.
//Replace {database.field} with the field by which you are grouping.
WhilePrintingRecords;
Onfirstrecord or {database.field} <> Previous({database.field})

 


Upon completing these steps, the Details section will display all the group's records except for the first record. Group Header 1b will always display the first record. If the group's records display on the following page, Group Header 1a and Group Header 1b will always print together. Therefore, this solution will prevent the appearance of an orphaned group header.

  • Login to post comments

MicroAssist Newsletter Signup

Sign up for MicroAssist's Monthly Newsletter. Get great tips on the software you use now, class schedules, best of @Microassist tweets and much more

Resource Center Submenu

  • Ask the Experts
  • E-Learning Resources
  • Learning Center
    • ILT Newsletter Archive
    • Tips & Traps
    • Cascading Style Sheets
    • Managing Email Effectively
    • Excel 2007 Graphs
    • Best practices for IT training
    • Microsoft Office 2007
    • Crystal Reports Tips
    • Microsoft Office 2010
    • Office 2010 Migration
  • Government Solutions
  • Sitemap
  • Screen Backgrounds
  • January 2011 (2)
  • November 2010 (4)
  • September 2010 (3)
  • August 2010 (5)
  • June 2010 (2)
  • May 2010 (1)
  • April 2010 (2)
  • March 2010 (4)
  • January 2010 (4)
  • December 2009 (6)
  • December 2008 (2)
  • October 2008 (2)
  • August 2008 (1)
  • July 2008 (2)
  • June 2008 (4)
  • May 2008 (7)
  • March 2008 (9)
  • February 2008 (10)
  • January 2008 (3)
  • December 2007 (3)
  • November 2007 (4)
  • October 2007 (10)
  • September 2007 (2)
  • August 2007 (7)
  • July 2007 (2)
  • June 2007 (1)
  • May 2006 (1)

Footer

  • Home
  • Custom E-Learning
  • Classroom Training
  • Technology Services
  • Resource Center
  • About MicroAssist
  • Contact Us
  • Sitemap
  • Privacy
  • Login
© 2012 MicroAssist. All Rights Reserved. RSS feed