Blank pdf when no data

Hello,

I have created a report with iReport 4.1.1.
This report contain a subreport.
In main and subreport I have set the propertie "When no data" to "no page"

The report is scheduled in JasperReport 5.6.0. The output is a file sent by FTP.

My problem is that when there is no data a blank pdf is created (empty pdf).

Is there a solution to get no report when there is no data ?

Thanks in advance for your help.

Cyrille

cgougeon's picture
Joined: Mar 3 2014 - 2:41am
Last seen: 8 years 3 months ago

1 Answer:

I've filed a bug report through Tibco Jaspersoft Support on this and it's been added as defeats/enhancement request. Before it's fixed, I think the way is to use REST v2 report generation API and do the data checking yourself.

hozawa's picture
170889
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 9 months ago
Feedback
randomness