Changes

Jump to: navigation, search

Create iReport Templates with Subreports

81 bytes added, 14:49, 19 September 2013
Step 4 – Define Report Query for Subreport
# Open the [[Modify an iReport Template#Using Report Query filters|Report Query window]]
# From the Report query window, select '''ImsmaQuery''' from the Query language list.
# Enter a Report Query filter using the parameter defined above to limit the objects according to the main report object. The most common Report Query filter would be to filter to only linked objects. For example '''''links.toGuid="$P{ItemGUID}"'''''. In this step, the Report Query tells the subreport to return only rows that are linked to the guid of the the item in the main report via the link table. Other combinations of Report Query filters can be used on subreports beyond the link table. These are documented in the [[#Possible Subreport Relationships |Possible Subreport Relationships]] section below.
# Click '''OK'''. :The Report query window closes.
# Save the subreport.
=====Possible Subreport Relationships=====
{| class="wikitable"
| align="center" style="background:#f0f0f0;"|'''Main Report'''
319
edits

Navigation menu