"Merge" two existing reports with an existing "master" report

0

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!

g0tteddy's picture
Joined: Mar 23 2015 - 10:57am
Last seen: 3 years 5 months ago

2 Answers:

0

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.

hozawa's picture
47137
Joined: Apr 24 2010 - 4:31pm
Last seen: 2 months 2 weeks ago
0

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

kkriplani's picture
837
Joined: Sep 4 2015 - 2:18am
Last seen: 1 year 1 month ago
Feedback