chidamparam Posted September 20, 2013 Share Posted September 20, 2013 there are cases when the main Query returns no records and the Blank Report is getting generated. Is there any solution to prevent the generation of Blank reports / Link to comment Share on other sites More sharing options...
C-Box Posted September 22, 2013 Share Posted September 22, 2013 Just don't use the NoDataSection and set the property "WhenNoDataType" to no pages... in your application you can check whether the returned JasperPrintObject is null or also has no pages (jrPrint.getPages().size() == 0) hthC-Box Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now