Passing Linked Array Values to SubReport in Crystal Reports
Posted on 2016-08-15
I use a Crystal report that takes a numeric parameter list as input and passes that as a link to the subreport.
The main report appiles each of the numeric parameters to the SQL script and works just fine.
However, the subreport takes the linked array as Pm-?InputList but only uses the last element of the array.
I am also linking a field returned in the SQL from the main report as string array, Pm-Command.fieldname, but only see the last element of the array there also.
I tried playing with WhilePrintingRecords but was unsuccessful.
How do I code this report to link a numeric parameter array and a string field array from the main report which is used for record selection in the subreport?