matt_55 Posted February 26, 2019 Share Posted February 26, 2019 Hello, I have a main report with two subreports. I want to be able to click a year in the first subreport, and have that filter the second one based on that value. I would think I need to pass this by parameter which I have created, but I am unsure how to set it by clicking on the year value displayed in subreport 1. Any suggestion? Link to comment Share on other sites More sharing options...
Solution hozawa Posted February 26, 2019 Solution Share Posted February 26, 2019 Dynamically updating subreports is not supported by JasperReports. You'll probably have to create different reports and link them by hyperlinks. Link to comment Share on other sites More sharing options...
matt_55 Posted February 27, 2019 Author Share Posted February 27, 2019 Thank you Hozawa. I will find another way to manage, possibly allow them to filter on the year. Not as simple as a click but should achieve the desired result. Link to comment Share on other sites More sharing options...
wilson3838 Posted April 28, 2021 Share Posted April 28, 2021 Hey Matt -it seems like hozawa told you to do what you already did (pass a value from one report to another). How did you solve this issue? I'm trying to pass a value, via hyperlink, from a main report to a sub-report. I.E. click here to see details ... 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