on 01-26-2010 8:07 PM
Hi,
I am running a reports from c# application after updating datasource to a dataset. But I get the following error when running reports with sub-reports.
Error in File RptGroup {37DC74F5-5A6A-4517-AA4C-D5D9C5991968}.rpt:
Operation illegal on linked parameter.
I am updating all stored procedure parameters for the report, but not doing anything for other parameter types. What should I do to get rid of this error?
Thanks
Ajith
Well,.I thought I was not setting values for parameter types other than stored procedure, but I was.
rptParam.ApplyCurrentValues(rptParamValues); was outside the code that loops through parameter values.
I have fixed this and the code is working fine.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.