Custom Text

Home » Topic » How to use multiple datasets for jasper report

How to use multiple datasets for jasper report

Thank you for downloading AIS 1.3 and trying out our Live application. Further I would like to welcome you to our strong users community which includes thousands of users just like yourself from more than 50 countries globally.

Home Forums Jasper Reports How to use multiple datasets for jasper report

Tagged: 

This topic contains 0 replies, has 1 voice, and was last updated by  mayurdoshi5 1 month ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #391

    mayurdoshi5
    Participant

    HI,

    I have created several reports, all with a custom JRDataSource. All seems to be working fine in my Java application.

    I use JasperFillManager.fillReport(fileName, params, dataSource) followed by JasperExportManager.exportReportToPdf(jasperPrint) and I am getting the PDF with all the data.

    Now want to create more complicated reports that contain data from multiple Datasource. I cannot see how to add additional Datasource in Java to a report. I have read up about sub-datasets and subReports but cannot see how I can associate (in Java) different JRDataSources with different sub-datasets and/or subReports.

    your help is appreciated.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.