Changes

Jump to: navigation, search

Modify an iReport Template

18 bytes removed, 16:24, 12 February 2014
Version 6.0
# Select the desired fields and finish the report
# Using the Report Inspector, navigate to the desired fields
# Right click on the field and select copy.
#:[[Image:IReport Field Copy.png|center|250px|''Field Copy'']]<div align="center">''Field Copy''</div>
# Navigate to the original report with the missing fields
# Right-click on the fields tree in Report Inspector and choose '''paste'''.
{{note | It is not recommended to the use the "Add Field" option from the Report Inspector due to the complexity of adding the correct field attributes and properties.}}
#Open the Report Query window from iReport Designer
#:[[Image:IReport ReportQueryButton.png|center|200px|''iReport Report Query Button'']]<div align="center">''Open Report Query''</div>
# Choose '''ImsmaQuery''' from the '''Query Languagelanguage''' drop down.
#:[[Image:IReport ReportQuery.png |center|400px|''iReport Report Query Window'']]<div align="center">''Report Query Window''</div>
# Enter a valid [[#ImsmaQuery Language Syntax|ImsmaQuery Language]] filter in the textbox (e.g. localId="MF-HQ-1")
links.toGuid = "$P{HazardGUID}"
As with other areas in iReport, the ''links.toGuid'' field is case sensitive and must be referenced exactly,.
==Sorting and Grouping==__NOEDITSECTION__
:The Report query window displays.
<li>Click the '''Sort options''' button that is located at the bottom of the Report query window.</li>
:The Sorting Options window displays.
<li>Click the '''Add Field''' button.</li>
<li>From the '''Sort by''' list, select the field by which you would like to sort the report results.</li>
<ol start="6">
<li>From the '''Sort Typetype''' list, select either the ''Ascending'' or ''Descending'' sort order.</li>
<li>Click the '''OK''' button.</li>
::The Sorting window displays. The Sort by list displays all the fields that you have selected for the report.
<li>Repeat steps 4-7 for each field on which you would like to sort the results.</li>
<li>After you have completed adding the fields on which you would like to sort the results, click the '''Close''' button.</li>
:The Sorting Options window closes.
<li>From the Report query window, click the '''OK''' button.</li>
:The Report query window closes.
518
edits

Navigation menu