ahmy_1 Posted June 9, 2016 Share Posted June 9, 2016 Hi, I'm new to iReport and i was wondering if i can create a report with only page header in it and then use it in my other reports so i would't have to create the same header over and over again. And if i change something in the main page header report it would change the other reports Link to comment Share on other sites More sharing options...
Solution hozawa Posted June 9, 2016 Solution Share Posted June 9, 2016 You can just create a report with the header and link to it as a subreport in your reports.It's also possible to create a template but reports that used a template won't be updated when a template is modified.That said, I actually just write a simple program/script that would insert xml tags/update jrxml files intead of doing the above because it's faster to render than using subreports. Link to comment Share on other sites More sharing options...
ahmy_1 Posted June 14, 2016 Author Share Posted June 14, 2016 Can you give an simple example like the HML of the main report that gets its header from another reprot? 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