ITMikeK
asked on
Crystal Reports expanding header area too much
I have an ASP.NET C# project in VS 2008 generating a Crystal Report.
In one area there is Group Header Section 1 that contains 15 Titles for the dataset items for the section below.
Under that is Group Header Section 2, which has the actual data items relative to the Group Header 1.
When the report is created and contains only 1 record, everything is great. If there are more than one record, this Group Header Section 2 expands all the way to the bottom of the page. Needless to say this leaves a large blank space before the Subreport and puts it on the second page....it just looks bad!
How can I prevent GroupHeader Section2 from expanding so much?
Thanks for your help!
In one area there is Group Header Section 1 that contains 15 Titles for the dataset items for the section below.
Under that is Group Header Section 2, which has the actual data items relative to the Group Header 1.
When the report is created and contains only 1 record, everything is great. If there are more than one record, this Group Header Section 2 expands all the way to the bottom of the page. Needless to say this leaves a large blank space before the Subreport and puts it on the second page....it just looks bad!
How can I prevent GroupHeader Section2 from expanding so much?
Thanks for your help!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The issue was the SubReport. I set the can grow to true, and KeepTogether false and it helped with that issue. Now the SubReport splits to the second page since the record has two lines of data. When two records are displayed, the headers and fields are repeated with the next record.
That is exactly what I suspected.
If there is still too much space look in the subreport at the various sections and objects. Make sure they don't have KEEP TOGETHER set.
mlmcc
If there is still too much space look in the subreport at the various sections and objects. Make sure they don't have KEEP TOGETHER set.
mlmcc
ASKER