Jump to content
Changes to the Jaspersoft community edition download ×

creating subreports using JR

2004 IR Help

Recommended Posts

By: ralamo - ralamo

creating subreports using JR

2005-05-13 20:30

I'm developing a web application using apache+tomcat. I'm using JR as report generating tool with iReport as the visual editor. I use iReport for creating .jrxml files then i use JSPs for generating reports using it.


I've created two report templates template1 & template 2. I created a 3rd report template and placed the template1 as a sub report in page header of template3. I placed template2 in the detail section of template3. template1 & template2 work independently. But template3 which uses template1 and template2 doesn't seem to work. It compiles successfully. I get a excel sheet but it's blank.


Can anyone explain what i'm doiung wrong? How can generate reports using sub reports? Pls help.







By: ralamo - ralamo

RE: creating subreports using JR

2005-05-16 19:14

I got thro' this problem. I didn't mention connection information for my sub report. In the subreport properties window, i specified 'Use Connection' from the drop down box. Now it's working.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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