__FORCETOC__
{{TOC right}}
{{HowTo's
|[[Start and Configure i-Report|Start and Configure i-Report]]|[[Create ==Creating a Basic i-Report iReport Template|Create Using the Wizard==__NOEDITSECTION__There is a Basic i-Report Template]]|[[Modify an iReport Template|Modify an wizard in iReport Template]]|[[Format an to help in the process of creating new iReport Template|Format templates. To create an iReport Template]]|[[Create i-Report Templates with Subreports|Create i-Report Templates with Subreports]]|[[Summarize i-Report Template Data|Summarize i-Report Template Data]]}}template using the Wizard:
==Creating a Basic Report Using the Wizard==__NOEDITSECTION__
{{IMSMANG}} provides an iReport Wizard to help in the process of creating new iReport templates.
To create a report:
<ol>
<li>From In the '''File''' menu, select → '''New...'''. </li>:The iReport Wizard window displays. <li>From the '''Report Templates''' list, select Select the template you would like to use for your report. Blank A4 or an IMSMA specific template are preferrable</li>
</ol>
[[Image:{{note|At iReport Wizard1startup, it can take several seconds to load the window with the templates.png|center|500px|The next time you click on '''Figure 1New.. iReport Wizard – Step 1.''']]however, the templates appear instantaneously.}}
<div align="center">
[[Image:iReport Wizard1.png|center|500px|''Figure iReport Wizard – Step 1. '']]''iReport Wizard – Step 1''
</div>
<ol start="3">
<li>Click the '''Launch Report Wizard''' button.</li>
:The window to name the report and file location displays.
</ol>
[[Image:iReport Wizard2.png|center|500px|''Figure 2. iReport Wizard - Step 2'']]
<div align="center">
[[Image:iReport Wizard2.png|center|500px|''Figure iReport Wizard - Step 2. '']]''iReport Wizard - Step 2''
</div>
<li>Select the desired Data Source for the report and choose '''Next'''</li>
</ol>
[[Image:iReport Wizard3.png|center|500px|''Figure 2. iReport Wizard - Step 3'']]
<div align="center">
[[Image:iReport Wizard3.png|center|500px|''Figure iReport Wizard - Step 3. '']]''iReport Wizard - Step 3''
</div>
<li>Select the desired data fields for the report and choose '''Next'''</li>
</ol>
[[Image:iReport Wizard4.png|center|500px|''Figure 2. iReport Wizard - Step 4'']]
<div align="center">
[[Image:iReport Wizard4.png|center|500px|''iReport Wizard - Step 4'']]''Figure 3. iReport Wizard - Step 4''
{| class="wikitable" width="500"
|-
| align="center" colspan="2" | '''Table 2. iReport Wizard – Buttons for selecting fields'''
|-
| width="125pt" | '''Button'''
| align="center" | [[Image:iRepDRA.png]] || Includes data for all fields in the report.
|-
| align="center" | [[Image:iRepLA.png]] || Removes Deletes the selected field from the report.
|-
| align="center" | [[Image:iRepDLA.png]] || Indicates Deletes all fields from the report.
|}
</div>
{{note|It is recommended to always include the ''guid'' field when designing a report}}
<ol start="5">
<ol type="a" start="2">
<li>Click the '''Next''':
The window to group the report data displays. The [[Modify an iReport Template#Sorting_and_Grouping|group by]] step allows you to list item records that have the same value for the selected group by field together in the report.
<ol start="6">
<li>Click the '''Next''' button.The [[Modify an iReport Template#Sorting_and_Grouping|group by]] step allows you to list item records that have the same value for the selected group by field together in the report. If you would like to group the report data, select the attribute on which you would like to group the data from the Group list.</li>
</ol>
<div align="center">
[[Image:iReport Wizard5.png|center|500px|''iReport Wizard - Step 5'']]
{{note|If you choose to group the report data, you may also want to sort the data using the attribute. For more information on sorting, refer to [[Modify an ''iReport Template#Sorting_and_Grouping|sorting]].}}Wizard - Step 5''</div>
<ol start="7">
<li>Click the '''Next''' button and then '''Finish'''</li>
The Wizard is complete and the iReport template designer window is open. Depending on your selections your template will look different from the example below.
[[Image:iReportHome1.png|center|500px|''Figure 2. iReport Wizard - Final Step'']]<div align="center"/ol>''Figure 3. iReport Wizard - Final Step''
===Grouping===__NOEDITSECTION__
<p>Grouping allows you to organise the report results using the values of a particular field. Grouping results makes it easier to identify the records which share a common value. Rather than having to visually scan the report results to determine which records have a common value, grouping automatically organises the results for you.</p>
<p>To illustrate, suppose you wanted to create a report to list all land within each location ID. The procedures that have been discussed so far in this training module would simply list all land along with their location ID. Although the location ID is included in the report, it would be difficult, tedious, and time-consuming to scan the entire report to identify those land that have a common location ID.</p>
[[Image:iRep07.png|center|500px|''Figure 7. Land report with no grouping'']]
<div align="center">
[[Image:iReportHome1.png|center|500px|''iReport Wizard - Final Step'']]'Figure 7. Land report with no grouping'iReport Wizard - Final Step''
</div>
<p>Grouping report results automatically organises ==iReport Designer Orientation==__NOEDITSECTION__Once your initial iReport template has been created you can begin adding data elements to the template, modifying the records using layout and formatting, and other aspects of [[Modify an iReport Template|modifying an iReport Template]]. Below is a brief orientation to the values on panes and functions available in the specified fieldiReport Designer. Using If any of the example above, panes or windows are unavailable they can be added back by selecting the land in relevant item from the report shown in Figure 8 are organised within '''Window''' menu. ===Report Inspector === __NOEDITSECTION__The Report Inspector pane displays a hierarchical structure of the location iReport template and provides access to which they are associatedthe available fields, parameters, and variables as well as all formatting elements of the report. Records that do not contain a value Each node can be expanded for more details about the selected grouping are put into their own groupelements contained in it.</p>
===Report Canvas ===__NOEDITSECTION__The middle area of the iReport Designer displays a graphical representation of the iReport template that corresponds to the hierarchical structure in the Report Inspector. In this pane you move elements around on the canvas as well as select individual elements for editing. ===Properties Pane ===__NOEDITSECTION__This pane will display all of the properties of items selected in the Report Inspector or Report Canvas. The Properties Pane displays a context-senstive list of properties for any selected item for editing. ===Palette===__NOEDITSECTION__The Palette is the area where individual graphic elements can be selected and dragged onto the canvas. This includes subreports and crosstab elements. ===Formatting Tools ===__NOEDITSECTION__The Formatting Tools pane provides access to various formatting functions designed to manage the size and space between elements on the report. ===iReport Output ===__NOEDITSECTION__This pane displays any problems or output from the reports. ==XML and Preview Views==__NOEDITSECTION__In addition to the Designer View, iReport Designer provides 2 additional views, the XML View and the Preview. Using the XML View you can get an editable version of the .jrxml file created by iReport Designer. This is useful for troubleshooting specific problems with a report but is generally only for advanced users.<div align="center">[[Image:iRep08iReportXMLView.png|center|500px|'' Land grouped by locationXML View'']]''XML View''</div>. The Preview view runs the current version of the iReport template and generates an output file with the results of the report. This is useful for ensuring that the report is functioning as desired prior to importing into {{IMSMANG}}. This is the primary method for running iReport templates within the iReport Designer.
<div align="center">
[[Image:IReportPreview.png|center|500px|''Preview View'']]''Land grouped by locationPreview View''</div>[[Modify an iReport Template]].
{{NavBox HowTo use iReportStandardizing Data Analysis and Information Reporting}}[[Category:NAA]]