Crystal Reports for Rational Application Developer Designer Guide

Live headers for groups based on a formula

When you create a group and use a formula field as a sort-and-group-by field, the program automatically creates a group name field based on the value returned by the formula.
For example, if you create this formula:
{CUSTOMER.CUSTOMER_NAME}[1]
and then group on the formula, the program will group your data based on the first letter in the CUSTOMER_NAME field.
To create a live group header for a group based on a formula, insert the group name field in the Group Header section.
To create a more descriptive header such as "Customers beginning with the letter B", see Group name with text.

Note: Make certain that when you assign the names to the groups using the Define Named Group dialog box, the names you assign are the names you want to appear as group headers.



Business Objects, an SAP company
http://www.businessobjects.com/
Support services
http://www.businessobjects.com/services/support/
Product Documentation on the Web
http://support.businessobjects.com/documentation/