Link to home
Start Free TrialLog in
Avatar of skobyjay81
skobyjay81Flag for United States of America

asked on

Crystal Report Subreport Sizing

I have a main report with subreports. The subreports are stacked side by side. (see screen shot). I would like to be able to have the borders in each report match up (I.E. the bottom of the report with fewer records is in line with the report with more records). I have indicated with arrows the borders I would like to line up. I have provided a screen shot of my attempt and the results.

Just to recap, I would like to be able to dynamically size the smaller report border to match the larger report border. Or at least set it to a height so they always line up.

Any thoughts? thanks in advance.


example-subreport.png
border-example.png
Avatar of Mike McCracken
Mike McCracken

Where are the subreports?

mlmcc
Avatar of skobyjay81

ASKER

The squares are the subreports in the first screen shot(Each square is the border of each subreport). I have blotted out the report information.
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
The subreports are located in the Group Header in the main report.
can you provide an example report with how you suggest resolving the issue?
Check this one

mlmcc
SubReportBoxes.rpt
That is close, but doesn't make the subreports grow to be the same size, it has added a border around both of the reports.. I need to have a total of 4 sub reports stacked 2x2. Notice how in the first pick I have 2 reports stacked 2x2 with borders around them. I still need this look but need the reports to line up when stacked 2x2. I have attached the results after applying your suggestion.

One thing to note is that in my example layout image. There are 2 results groups in each of my subreports. thus results in 4 subreports. Report 1 and 2 are the same report but are groups 1 and 2 for the left side and reports 2 and 4 are the same report but are groups 1 and 2 for the right side.
example-layout.png
I added the lines between the groups to show you how the reports are lining up now. The divider shows you where group 1 for reports 1 and 2 end and 3 and 4 begin.
Does this show how?

mlmcc

 SubReportBoxesRev1.rpt
I'll have a look.
I think this works great. Thank you!
Great answer