Jump to content
We've recently updated our Privacy Statement, available here ×

Is this techically possible?


ehdtkqorl123

Recommended Posts

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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...