arthur156 Posted July 10, 2012 Share Posted July 10, 2012 I would like to be able to use the same sub report file in every report, that way if I need to change something in my header info, I only have to change it one time, rather than 800 + for every report. Link to comment Share on other sites More sharing options...
cmatthews Posted July 10, 2012 Share Posted July 10, 2012 I'm not sure I understand the problem, I do this a lot for standardized headers. You just make a report that you want to be the content of header, with a parameter used in the title. You pass the title paramter to the subreport and the rest is just whatever you define to be in the subreport header section.I usually have a few things, date range that the report is running against, title, report runtime / current date time, other notes / parameters / subtitle.Header supports subreport just fine.You will have to make one pass through all your reports to define this if you hadn't already started out that way. If you have experience with good searc and replace tools you may be able to script it in your jrxml files. 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