Symptoms
When you run Report Commander from the command line to process a report, Report Commander issues the following error:
Operation illegal on linked parameter
(This error message is preceded by text identifying the report file being processed.)
This error occurs when you have generated the command line using the command-line builder, though in some cases, the report will previewed without any error from within the builder.
Cause
This error occurs when a parameter field in a subreport is used to link the subreport to the main report (this is called a "linked parameter"). When such a parameter is present, its value is filled automatically at run-time based on the value from the parent report.
However, the command-line builder incorrectly includes such parameters in the list of parameters for which you can provide values in the builder. The linked parameter is then included on the command line, and Report Commander attempts to set the valud of this parameter in the report. Since this parameter is not meant to be set directly, the error occurs.
Resolution
Do not specify the value(s) for any linked parameters listed in the command-line builder. Remove the empty parameter values from the command line generated by the builder.
You may need to consult the report definition (in the Crystal Reports Designer) to determine which parameter(s) are linked parameters.
Status
Report Commander 1
This issue has been resolved.