jcrumley Posted July 22, 2010 Share Posted July 22, 2010 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 More sharing options...
marciopd Posted July 24, 2010 Share Posted July 24, 2010 Maybe DynamicJasper could help you.Take a look: http://dynamicjasper.sourceforge.net/docs/HOWTO%20Add%20Subreports2.html Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now