• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Error with Subreport

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...
 
Tomorrow is the first day of the new metric calendar. Comfort me tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic