Search code examples
crystal-reportssuppresssuppression

Crystal Reports: Suppressing a field conditionally according to group name in current page


I have a group named: "Group #1 Name" and as you know when viewing the report at the first page in Group 1 section we see the title of group but this is not appears in next page till we navigate to next group.
Now i want to display the current Group Title navigating by user in the header of page to help user know currently is in witch group( for ex: if group name is name of countries, Products in Country "A" is continued in next page and other next pages and we vant see these products country).

I copied my "Group #1 Name" and put it on the page header this working but there is a problem:
when navigating the report from viewer and when we see the next group(Ex: Country B) at the header the value is still Country A and if you continue navigatin to the next page it will be correct.
this is my Q:
How Can I Suppress The header field According to the Group Name?
cleary I want to Suppress Field that shows Country A in the header when The Group Country B is Displaying In the Current Page.


Solution

  • I suggest right-clicking on the relevant Group in the Designer, selecting Group Options, and then checking Show Group Header On Each Page. No need to mess about with putting Group #1 Name in the page header. If you want it to appear as if it's in the page header, you can investigate the Underlay Following Section option.