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}
2 Answers:
Posted on July 23, 2018 at 9:39am
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