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

Filtering by information in higher level subreports


athimmig

Recommended Posts

I am currently working in a report that has 3 levels of subreports in addition to the main jrxml file. The second level is not filtering correctly as it needs to filter based on information found in the first level subreport and is currently just using a query to pull any information that fits it's columns in the report. How would I go about getting the information I need to filter the data correctly. 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

I'm not sure if I made this clear enough. The reason I ask is because the subreports are not put in using the wizard like every resource I have found on the internet shows how to fix this. They seem to be linked together using a similar line of code: 

<propertyExpression name="net.sf.jasperreports.export.html.id"><![CDATA["summary_&MAINREPORT=JobActivityReport_Level2Subreport"]]></propertyExpression>

 

I took out a lot of code but that is the link expression to link the level 1 subreport to the level 2, however I need to link level 2 to something contained in the main page as well as the information found in level 1. That is where I am lost

Link to comment
Share on other sites

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...