When I pass some parameters to my report that generate no results in the query I am getting a error generating the PDF file.
Is there any way to generate a blank page or only the report header without the details? I saw an option which says "When No Data Type" and I tested all possibles values without success.
Thanks in advance for any help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, guys.
When I pass some parameters to my report that generate no results in the query I am getting a error generating the PDF file.
Is there any way to generate a blank page or only the report header without the details? I saw an option which says "When No Data Type" and I tested all possibles values without success.
Thanks in advance for any help.
Hi,
currently PL-jrxml2pdf does not support that property. You have to catch that error yourself.
Regards,
Andreas