File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes Error with Subreport Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Error with Subreport" Watch "Error with Subreport" New topic

Error with Subreport

prinz reyes

Joined: Mar 30, 2009
Posts: 8
hi! im new to Jasper Report and i have a problem with subreport..and by the way im also using ireport3.0

i have my master report (Agency.jrxml) and my subreport(Employee.jrxml)..
when i run each report individually all goes well but when i add a subreport to Agency.jrxml an exception occur:

this is what i did:

where: REPORT-->path of my master report and dataSource--> is the dataSource of my master report
i passed my subreports dataSource as a parameter to my master report..
my subreports dataSource is a list of employees.

i think the problem here is the report can't load the parameter that i passed..but how can i pass the dataSource of my subreport to fill its parameters?
can someone help me with this?
thank you...
wood burning stoves
subject: Error with Subreport
Similar Threads
Jasper Reports subreports problem
Problem with Jasper Subreport
Passing dataSource to subreport in ireport
Subreports in Web Application.
Jasper reports - Group several subreports