Changes

Jump to: navigation, search

Modify an iReport Template

196 bytes added, 18:54, 16 September 2013
no edit summary
===Adding a Field to an iReport Template===
<p>If you need to include a field that was not selected while using the Report Wizard, you will need to know the name of the field that is used by the data source. Find a list of available field names by using the Report Wizard.</p>
<p>To add a field to your report:</p>
<ol>
<li>From the '''View''' menu, select the '''Fields''' option.</li>
:A window displays three tabs (Fields, Variables, and Parameters).
<li>From the Fields tab, click the '''New''' button.</li>
:The Add/modify field window displays.
<li>In the '''Field Name''' field, enter the name of the field that you would like to include.</li>
<li>Click the '''OK''' button.</li>
:The field is included on the Fields tab.
<li>Close the window that displays the Fields, Variables, and Parameters tabs.</li>
<li>Reposition the fields on your report as needed to accommodate the new field.</li>
<li>Click the [[Image:iRepF.png]] icon.</li>
<li>Click the detail section of the report.</li>
<li>While holding down the mouse button, drag the cursor to form the rectangle which will contain the new field.</li>
<li>Release the mouse button.</li>
:A placeholder for the field is displayed in the design section of the report.
<li>Double-click the placeholder that was added for the field.</li>
<li>Change the placeholder text so that the field that you added is between the brackets.</li>
</ol>
 
===Adding a Parameter to an iReport Template===
Adding a parameter to an iReport Template.
# Right click -> Create Parameter
# Add a name, leave type as string
 
===Adding a Variable to an iReport Template===
Two ways to do it.
# Add a variable manually
# Drag to Summary Band
 
Adding a variable manually:
# Right click -> Add Variable
 
 
===Adding a Group to an iReport Template===
===Adding an Image to an iReport Template===
{{note|The field on which you would like to group your report results must be included in the report.}}
{{note|You may also enter the expression in the Group Expression field if you know the exact spelling of the field name on which you would like to group the results. The syntax is $F{''FieldName''}.}}
===Adding Fieldsan Image to an iReport Template===__NOEDITSECTION__<p>If you need to include a field that was not selected while using the Report Wizard, you will need to know the name of the field that is used by the data source. Find a list of available field names by using the Report Wizard.</p> <p>To add a field to your report:</p><ol><li>From the '''View''' menu, select the '''Fields''' option.</li>:A window displays three tabs (Fields, Variables, and Parameters).<li>From the Fields tab, click the '''New''' button.</li>:The Add/modify field window displays.<li>In the '''Field Name''' field, enter the name of the field that you would like to include.</li><li>Click the '''OK''' button.</li>:The field is included on the Fields tab.<li>Close the window that displays the Fields, Variables, and Parameters tabs.</li><li>Reposition the fields on your report as needed to accommodate the new field.</li><li>Click the [[Image:iRepF.png]] icon.</li><li>Click the detail section of the report.</li><li>While holding down the mouse button, drag the cursor to form the rectangle which will contain the new field.</li><li>Release the mouse button.</li>:A placeholder for the field is displayed in the design section of the report. <li>Double-click the placeholder that was added for the field.</li><li>Change the placeholder text so that the field that you added is between the brackets.</li></ol>????
===Sorting Report Results===__NOEDITSECTION__
It may be helpful to sort the report results using the value in one or more of the fields. Sorting the results makes it easier to review the results and locate any records that you may be searching for.
To sort report results:
319
edits

Navigation menu