Jump to content
We've recently updated our Privacy Statement, available here ×
  • JasperReports Built-In Parameter REPORT_MAX_COUNT and the Interactive JIVE Sort Feature


    Tom C
    • Features: JasperReports Server Version: v5.6 Product: JasperReports® Server

    In JasperReports, there’s a built-in parameter that user can use to limits number of records from the report data source during the report-filling process. REPORT_MAX_COUNT only controls the size of the resultant dataset from the data source. It is set BEFORE report query is executed and query resultant dataset feeds JasperReports to generate report output.

    When a report uses table element to display report output and its deployed report unit is rendered in JasperReports Server web UI, user can use interactive JIVE feature to further sort the report data displayed in the viewer. However, the interactive sorting only goes after the report output. It is importance to realize that users can only use REPORT_MAX_COUNT and interactive sorting to display N number of records in ascending or descending order, where N number of records rely on user’s report query select order. Users will not be able to use REPORT_MAX_COUNT combined with interactive sorting to get the first N number, or last N number of records from the database to have them displayed in JRS report viewer.

    1(65).png.bbc3977f21f8f6bdc6e83df9617c9348.png

    2(57).png.a9236ed86ef874a02c5f0efb02d46853.png

    3(37).png.76639c924fa30dd2288c09804c97a9f2.png


    Reference


    TTC-20140929


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...