iReports - Background/watermark in sub-report does not display

I'm using iReport 4.5.1 (unfortunately using a later version is not an option) and have a report that has multiple sub-reports associated. In the Background band of the main report, I have placed text to be used as a watermark - this displays fine on each report page. In one sub-report I want to display an additional watermark, so have added an additional text field element in the background band of this report.

When I run the report as a whole, the watermark text for the sub-report does not display, yet when I run the sub-report separately, its watermark text displays fine. Any ideas why this might be happening?

deb.crawford.au's picture
Joined: Sep 7 2013 - 4:48am
Last seen: 9 years 12 months ago

1 Answer:

For anyone who has the same problem, I found that my issue was actually due to having a page header defined on my main report. For some reason that seems to override the background band on sub-reports displaying. I have no idea why and would be very interested to know if anyone is aware of the reason. I was able to work around my issue by removing the page header from the main report.

deb.crawford.au's picture
Joined: Sep 7 2013 - 4:48am
Last seen: 9 years 12 months ago
Feedback
randomness