Changes

Jump to: navigation, search

Create iReport Templates with Subreports

1,351 bytes added, 15:41, 19 September 2013
Kinds of Subreports
*Location relationship
*Link relationship
*Direct Geospatial relationship*Other relationship
===Location relationship subreports===
This has the effect of limiting the subreport records to only those records that have a '''link''' to the guid or object passed from the main report.
===Items with Data SubsetsGeospatial relationships===In addition to Location and Link relationships, many objects in IMSMA can store geospatial/geographic information (i.e. point/polygon information). This relationship with the geospatial data can be modeled in a report/subreport relationship for any item that has geospatial information associated with it. To include point/polygon information on an object's main report: # Ensure that the '''''geospatialInfos''''' field is added to the main report.# Add a subreport using the '''GeospatialInfo''' datasource# Pass the '''''geospatialInfos''''' field to the subreport in a parameter (e.g. GeospatialInfoList)#: {{note|instead of passing the '''''$F{guid}''''' field to the parameter, the parameter value should be '''''$F{geospatialInfos}'''''}}# Create a parameter on the subreport with the same name as in #3.# In the GeospatialInfo subreport use the parameter in the following ImsmaQuery language syntax guid IN $P{parametername}  Certain items in {{IMSMANG}} have subsets of data that are contained within them. For example, an education may have education details such as the education type, total audience, and percentage of women and men. The education details data requires the education Other sub ===Other subreport relationships===In addition to existLocation and Link relationships, there are several other kinds of relationships in IMSMA that are available for use with subreports. Table 3. Parent/child These relationships take many different forms, however, two in particular are*Sub-object relationships lists the *Certain items and the in {{IMSMANG}} have subsets of data subsets that depend on are contained within them.For example, an education may have education details such as the education type, total audience, and percentage of women and men. Other sub
<center>
319
edits

Navigation menu