Changes

Jump to: navigation, search

Modify an iReport Template

157 bytes removed, 03:06, 17 September 2013
Adding a Field to an iReport Template
<p>If you need to include a field that was not selected while using the Report Wizard, there are several options for including additional fields. The definition of a field
====Option 1: ====Using the Report Query dialogue, you can select the option to Get Fields from Datasource Provider, which will automatically add all fields from the selected datasource to the report template. You can then remove any unwanted fields from the report {{warning | Make sure that the datasource selected in iReports corresponds to the data source for the report}} To add fields from the Report Query dialogue:
# Choose the Report Query button
# something
#something else.
====Option 2: ====Alternatively, you can create a new report template using the Wizard and add the desired fields to the new report. Fields can then be copied and pasted from the new report to the original report.
# Create a new report using the iReport Wizard and the same data source
# Select the desired fields and finish the report
# Right-click on the fields tree in Report Inspector and choose paste.
Option 3: Manually add the field to the report.Fields can be added {{note | It is not recommended to the iReport template by:# Right click on use the Report Inspector# Choose "Add Field"# In option from the Properties pane, enter Report Inspector due to the name complexity of a field that exists on that datasource. '''Note: Fields are case sensitive.''' Make sure to select adding the correct data-type for the data sourcefield attributes and properties.}}
===Adding a Parameter to an iReport Template===
319
edits

Navigation menu