naven084k Posted December 10, 2012 Share Posted December 10, 2012 i have a main report which is having 4 subreports....how to load 4 subreports and how to attach it to the main report.. Link to comment Share on other sites More sharing options...
spandey Posted December 10, 2012 Share Posted December 10, 2012 Drag and drop subreport from palette.Use the wizard to add the subreport into your main report. If you have already created the reports that you are thinking of using as a subreport then select "Use an existing report" now add your report (reportname.jasper). Set Connection Type to "Use a connection expression" and Connection Expression to $P{REPORT_CONNECTION}. This is how you add your first subreport. Repeat this to add all the 4 subreports to your master report. Link to comment Share on other sites More sharing options...
naven084k Posted December 10, 2012 Author Share Posted December 10, 2012 sorry my question is not clear..what i want to say is "while executing the report from web application,5 reports we attached into a single xml file.now my doubt is how to execute the main report" Link to comment Share on other sites More sharing options...
spandey Posted December 11, 2012 Share Posted December 11, 2012 trying executing the report using the preview button.If there is still an issue please post in the screenshots. Link to comment Share on other sites More sharing options...
myjob5 Posted March 10, 2015 Share Posted March 10, 2015 Using the report connection does not use the data adapter that is tied with the report (that i am making a sub report). How can i use the reports data adapter when i select it as a sub report? Thank You 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