319
edits
Changes
→Step 3 – Add Parameter to Subreport
====Step 3 – Add Parameter to Subreport====
# In From the Report Inspector, '''Report Inspectorright click''' on the subreport, '''Parameter''' tree and choose '''Add Parameter'''.#: [[Modify an iReport Template#Adding a Parameter to an iReport TemplateImage:IReport AddParameter1.png|center|250px|add a ''Add Parameter'']] to hold # In the guid of the IMSMA Item on the main report'''Properties''' pane, enter a parameter name (e.g. ItemGUID} and edit any other properties. It Normally it is recommended not required to add a fairly generic parameter edit anything other than the name such as .#: [[Image:IReport AddParameter2.png|center|250px|''ItemGUIDAdd Parameter'' so that the subreport can be more easily re-used.]]
# Once the parameter is added it will be available in the '''Report Inspector''' and can be referenced as ''$P{parametername}''. For example:
$P{ItemGUID}