Jump to content
Changes to the Jaspersoft community edition download ×
  • Empty report problem


    djohnson53
    • Features: Reports Version: v5.1, v5.0, v4.8, v4.7, v4.6, v4.5 Product: JasperReports® Library

    If you do not supply any data source when filling a report template, or if that data source supplied, either directly or obtained by the engine through the execution of a query, does not contain any records, the report-rendering engine will not produce any output by default (whenNoDataType="NoPage" by default). If you want to see something being generated even when there is no data in the supplied data source, then you should try set the whenNoDataType property to "AllSectionsNoDetail" for you report template. Another possibility is to provide a customized output to replace the empty report. You can do that by setting the whenNoDataType property to "noData". Then you have to add and customize the noData section in the report template.


    User Feedback

    Recommended Comments

    There are no comments to display.



    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...