I have a very simple SSRS report, it use a query which contains only one table. i create a parameter for this SSRS report. i tried to open this report via the custom class which extends the “SrsReportRunController”.
i got the above error when i run the report from a menu item.
my question is where can i set the value for this parameter programmatically?
Note:
i have already tried to set the parameter when i create the custom controller instance in the main method as below, but no luck
I’m pretty sure the error is “The parameter “xxx” does not exist”, i tried to set the parameter value by the paramRdlContract.setValue(paramname,value).
and got the above error before, but the param is really defined in my report.
met many tricky problem today,
SrsReportRunController.getfirstQuery() return null ,since the SSRS report data set is based on the query