defining width and height of subreport in the master report

I have a master report  and a subreport. Also, subreport add some information to the Page Header band of master report. Indeed, due to the fact that it is impossible to aggregate all needed data into single query, I had to use a subreport. At present, I faced with a problem in representing subreport in the master report. As a matter of fact, when master report generate, subreport stretches and expands height of Page Header band of master report. I configure page format property of subreport to delete all margins and customize width and height of subreport. Besides, I configure size of subreport in the master report, but subreport stretch again and change appearance ordering of the page.
Could you please recommend a way to overcome this problem?

Furthermore, I am using Jaspersoft Studio 6.3

mmm.shz87's picture
164
Joined: Jul 12 2016 - 10:57pm
Last seen: 6 years 5 months ago

2 Answers:

Try setting the Overflow Type to No Stretch in the Subreport tab of the Properties view for the subreport element.

narcism's picture
6502
Joined: Nov 22 2010 - 12:39am
Last seen: 1 day 1 hour ago

Thanks for your response. I have solved this problem.

I think The best way for this problem is that fact that I should place my Text Field in the Title band. Besides, I should change all borders of subreport  to 0.

mmm.shz87's picture
164
Joined: Jul 12 2016 - 10:57pm
Last seen: 6 years 5 months ago
Feedback
randomness