I have a main report, and need one of the fields to be a hyperlink to another report (using that field as the parameter of the second report).
- I right clicked, and clicked
Hyperlink
Link Target
- BlankLink Type
- ReportExecution
Parameters:
- Name:
_report
Expression:/ca_ppm/resources/PSR_MilestoneReportV2.jrxml
- Name:
program
Expression:$F{name}
The parameter program
is used in the sub-report to pull the information.
The expression for _report is the correct path for the .jrxml
file of the sub-report, and I also have that .jrxml
file marked as a resource in Controls and Resources
for the main report...
Yet I am getting this error:
Unexpected type (File) of the resource with URI/ca_ppm/resources/PSR_MilestoneReportV2.jrxml
This seems to be a path issue.
Am i missing something?