I am trying to modify a Crystal Report to speed it up. The report has several subqueries and I could speed them up if I can include the link parameter value in the SQL query.
The SQL command window/editor shows the begin and end date parameters defined in the subreport but does not list the link parameter. I tried using the {?Pm-command.ID_NUM} parameter in the SQL even though it wasn't listed, but got a SQL error from that.
I tried creating a parameter IDNUM and setting the default value to the link parameter value, but that didn't work either.
Is it possible to pass a value from the main report to a subreport and have that value included as a parameter in a SQL command?
If so, how do I do that?
I am using Crystal Reports XI. (not R2)
Thanks for any help anyone can provide, even if it just to confirm that it can't be done.