Hi,
I'm trialling CR2013, and using version 13.0.2000.0 of the CrystalReports.Engine under VS2013 under Windows 7 Ultimate.
I'm having trouble setting parameters on a report that has a sub-report with two parameters that are linked to the similarly-named parameters in the main report.
When I run the report in the designer it only prompts for the two parameters on the main report, and these are successfully passed to the sub-report.
I'm using the SetParameterValue method on the parent report’s ReportDocument object and, at first, I got the usual “Missing Parameter Value” exception thrown when calling ExportToDisk.
If I look at the ReportDocument.ParameterFields collection, I can see that there are four ParameterField objects, but only the first two (presumably the two from the main report) have values.
Can somebody please tell me what I've missed? Surely there’s no need to explicitly set the values on the sub-report parameters?
Many thanks,
Peter
P.S. Apologies if the question has been answered, I had a look, but couldn't find a thread that described my problem.