g0tteddy Posted March 18, 2016 Share Posted March 18, 2016 Hi All,If possible, I would like to "merge" two existing reports with an existing "master" report to create a single .jrxml file. Forum searches yielded threads related to subreports, but the available step-by-step guides involved creating either a new subreport or a new master report. I am very new to Jaspersoft Studio with no previous programming experience, and as such, step-by-step instructions would be greatly appreciated.Thanks! Link to comment Share on other sites More sharing options...
hozawa Posted March 18, 2016 Share Posted March 18, 2016 Subreport won't create 1 jrxml file. Subreport allows 1 report (main report) to include other jrxml files (subreports).Unfortunately, there is no feature to merge 2 jrxml into 1 jrxml file. Link to comment Share on other sites More sharing options...
kkriplani Posted March 18, 2016 Share Posted March 18, 2016 Hi,First of all you should understand the concept of subreports and main report.A main report calls other subreports into it.Steps you should follow are as follows;1) Consider your reports to be merged (considering you are merging two reports, lets take the count as 2) as two different subreports. If the two reports are running individually (on same datasource), then you need not perform any changes on them.2) Create a new main report and call two sub report components from the pallete giving the path of the two reports to be merged. For proper steps, please refer the guide. Hope this helps,KKriplani 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