Header section is repeating though details not shown
I am using Crystal Reports (Visual Studio 2005 version).
The report is structured in the following manner –
There are four Groups
Group1(Grouped on Field1)
Group2(Grouped on Field2)
Group3(Grouped on Field3)
Group4(Grouped on Field4)
- Header1
- Header2
- Details Sections <9 sections>
1. Group1 data is shown only in Page1
2. Group2, 3 and 4 are shown in every page that the group repeats
3. Group4 has two headers as shown above:
4. The first header is to be shown only in the first page of that group and the second is to be shown in every
subsequent page(2, 3, etc…) of the group
5. There are 9 Details sections under Group4 and 8 of these are conditionally suppressed (4 out of these have SubReports).
Problem: When displaying data if Group4 's Details Data ends at the bottom of the page, then in the next page, Short header i.e.
Group4 Header2 is displayed and below this header, the next group's data begins.
To put it in another way, data that is to be displayed for this group has ended in the previous page, but still it is going to next page
causing the Short Header to be displayed with no data below it.
In all other cases Long and Short headers are being displayed correctly.
Please help me to suppress the short header. Why is it repeating ewhen the goup has ended in the previous page ?