Jump to content
We've recently updated our Privacy Statement, available here ×

Subreports - oy vey!


jcrumley

Recommended Posts

I have a jaspter report that was created with Java.  Now I want to add a subreport to it. 

1) can I add a .jrxml subreport to the old report that was created with Java?

2) I have the .jrxml file and I added this line of code to the old java report code:

String subReportFile = JasperCompileManager.compileReportToFile("report1.jrxml");

So now what?

3) I know I have to add a parameter to the main report but after browsing the forum for help I'm more confused as to what and how to add the parameter.

Any insight to my problem would be greatly appreciated!

TIA,

Jc

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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