Menu

Error when no data found

2017-03-23
2017-03-23
  • Jônatas Gomes Alves

    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.

     
  • Andreas Weiden

    Andreas Weiden - 2017-03-27

    Hi,

    currently PL-jrxml2pdf does not support that property. You have to catch that error yourself.

    Regards,
    Andreas

     

Log in to post a comment.

MongoDB Logo MongoDB