yapkm01 Posted November 7, 2009 Share Posted November 7, 2009 In short:1. Master report has 1 subreport.2. The master report has 1 field (hashmap). This field in ireport equivalent to the pojo java program as shown below:private HashMap <String, Object> reportingType = new HashMap <String, Object>();3. I need to pass this field reportingType to the subreport and use is in the subreport.4. In the master report under data source expression, i used JRMapCollection newnet.sf.jasperreports.engine.data.JRMapCollectionDataSource ($F{reportingType}.values())Questions:How do i access that $F{reportingType} in the subreport? I dont find much information on the usage of JRMapCollectionDataSource. Please advice. Post Edited by yapkm01 at 11/08/2009 04:52 Link to comment Share on other sites More sharing options...
123jparedez123 Posted June 16, 2021 Share Posted June 16, 2021 Hi yapkm01,I know it has certainly been a while now... Nonetheless, I wanted to know if you were able to find out how to access the $F{reportingType} in the subreport?If so, could you please tell me how you managed to do it? Thank you so much for your advice in advance... JP 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