Jump to content

multiple Data Sources in a Report


pjamrisk

Recommended Posts

Hello everyone,

I have searched and reall all over the forums looking for a consice and simple example on how to create a subreport with a different datasource. The only close thing to this is link in the forum:

http://jasperforge.org/plugins/espforum/view.php?group_id=83&forumid=101&topicid=37515

But still I am not able to get the report to not give me an error when compiling, on either JS or Ireport. Can someone provide a simple example or tutorial on how to create this? I am sure a lot of people is looking for this information to set in the reports.

 

Thanks,

Patrick

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi Miramon,

The example seems simple enough. I did try though to copile the report directly as a jrxml and as the java to idicate the two different sources, and I still get the same problem, where the system is only watching for the first datasource only. But thank you for the reply. I was wondering if someone might also have a way to do this on the netbeans side with Ireport as well, even if it takes to compile the report via java in that sense.

 

Thanks,

Patrick

Link to comment
Share on other sites

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...