Jump to: navigation, search

Modify an iReport Template

1,371 bytes added, 20:02, 16 September 2013
Sorting and Grouping
==Sorting and Grouping==
<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">
''Figure 7. Land report with no grouping''
<p>Grouping report results automatically organises the records using the values on the specified field. Using the example above, the land in the report shown in Figure 8 are organised within the location to which they are associated. Records that do not contain a value for the selected grouping are put into their own group.</p>
[[Image:iRep08.png|center|500px|'' Land grouped by location'']]
<div align="center">
''Land grouped by location''
===Adding a Group to an iReport Template===
<p>You will need to compile and execute the report for the sort options to take effect.</p>
=Working with Images==
===Adding an Image to an iReport Template===

Navigation menu