Empty subreport

After reading some tutorials, I created sample report using subreport, but there is one big problem. When I preview subreport, it`s working, but previewing main report show blank space instead of subreport. How to fix it please ?

1) Both reports have same database.

2) Report Connection parameter is set

3) Subreport is in same folder

4) Parameter created in properties and passed from main report, in SQL used /name/ = $P{nameOfParameter}
 

jan.gulan1997's picture
Joined: Jul 12 2018 - 4:42am
Last seen: 4 years 7 months ago

2 Answers:

Did you try checking that subreport size does fit in report?

Had this problem many times and could manage to make it work changing items size.
If this does not work, try making a simpler subreport till it work. Then add complexity till it stop working. This way you can check why it´s not working.

Regards,
GL

GonzaLinares's picture
Joined: Apr 17 2018 - 10:50am
Last seen: 1 year 5 months ago

I tried everything. Simple subreport with static only is also not working. :(

jan.gulan1997's picture
Joined: Jul 12 2018 - 4:42am
Last seen: 4 years 7 months ago
Feedback