Link to home
Start Free TrialLog in
Avatar of ITMikeK
ITMikeKFlag for United States of America

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!
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ITMikeK

ASKER

User generated image Here you can see where the large blank area of the report is. The report then continues on the next page with a sub report
Avatar of ITMikeK

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.
Avatar of Mike McCracken
Mike McCracken

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