ehdtkqorl123 Posted October 1, 2007 Share Posted October 1, 2007 I have a master report and a subreport.A java file has a data source using a HashMap, and also has a parameter something like this: <parameter name="SIMPLE_DATA" class="java.util.HashMap"/> So subreport is used like this: <subreportParameterExpression><![CDATA[$P{SIMPLE_DATA}.get($F{id})]]></subreportParameterExpression> My question is.. is it possible for the master report to get the contents of the datasource(hashmap)?I tried to dynamically set PrintWhenExpression properties based on the value of Datsource. Can anyone help me? Thanks 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