Tom Harkness
Top achievements
Rank 1
Tom Harkness
asked on 09 Dec 2010, 07:58 PM
I had done some reports for industrial production in the Q3 2009 release. I had no issues using MultiValue parameters and passing it so that the customer could look at multiple items in a single report if needed. I am updating and doing some new reports and have found that in the Q3 2010 release the multivalue continually throws me a error but not if the MultiValue is set to False ( it runs fine then). This is happening after upgrading the reports from the old version. If I go back to the old version, they run fine.
I am getting the following error:
Cannot perform '=' operation on System.String and System.Object[]
I checked the documentation and see nothing new for setting Multivalue parameters. I might be blind though and just missed it. Any ideas as to what is causing this and how to resolve it? I apologize I usually do reports using a different package. The customer has been happy with the look and feel of the old ones.
Thanks!
Tom
I am getting the following error:
Cannot perform '=' operation on System.String and System.Object[]
I checked the documentation and see nothing new for setting Multivalue parameters. I might be blind though and just missed it. Any ideas as to what is causing this and how to resolve it? I apologize I usually do reports using a different package. The customer has been happy with the look and feel of the old ones.
Thanks!
Tom
8 Answers, 1 is accepted
0
Hi Tom Harkness,
Peter
the Telerik team
We have made some changes to the Report Parameters in Q1 2010:
· CHANGE: Telerik.Reporting.Processing.Report.Parameters collection now contains Parameter objects instead of parameters' values
· CHANGE: Telerik.Reporting.ReportParameter.UI property is now OBSOLETE
Additionally we have changed the data processing engine:
·New Data processing engine
In your case, it looks like you have to change the equal (=) operator with an In operator in a Filter or a Conditional Formatting.
Peter
the Telerik team
0
Tom Harkness
Top achievements
Rank 1
answered on 15 Dec 2010, 08:08 PM
Peter,
I appreciate the feedback. When I try to set the parameter to "IN" I get a exception and it will absolutely not accept the "IN" operator for a valid paraemter. I have inlcuded the error. Not sure what I need to do to bring the reports back to the previous status of allowing multiple values for the parameters. I did try the conditional formatting and got nowhere real fast. Any help you could provide would be greatly appreciated.
Tom
I appreciate the feedback. When I try to set the parameter to "IN" I get a exception and it will absolutely not accept the "IN" operator for a valid paraemter. I have inlcuded the error. Not sure what I need to do to bring the reports back to the previous status of allowing multiple values for the parameters. I did try the conditional formatting and got nowhere real fast. Any help you could provide would be greatly appreciated.
Tom
0
Accepted
Hi Tom,
Unfortunately the exception you've hit is an issue that slipped into the Q3 release but was immediately addressed in an internal build which is available for download from your account. Please download it and let us know how it goes.
Best wishes,
Steve
the Telerik team
Unfortunately the exception you've hit is an issue that slipped into the Q3 release but was immediately addressed in an internal build which is available for download from your account. Please download it and let us know how it goes.
Best wishes,
Steve
the Telerik team
0
Ryan
Top achievements
Rank 1
answered on 21 Jan 2011, 08:58 PM
I have this same issue. Is this internal build available from everyone's account? We have a corporate account to access new builds. What should I tell the person in charge of this account to look for? What is the name/version of the build?
Thanks!
Thanks!
0
Tom Harkness
Top achievements
Rank 1
answered on 21 Jan 2011, 11:37 PM
My issue was fixed at the time of posting by the internal build that is available on registered accounts. All you have to do is grab the lastest internal build and the multivalue parameters will work (at least did for me).
0
Ryan
Top achievements
Rank 1
answered on 22 Jan 2011, 12:23 AM
Do you know the version by chance? I currently have ...
Telerik_Reporting_Q3_2010_v4_2_10_1110_dev.msi
Thanks!
Telerik_Reporting_Q3_2010_v4_2_10_1110_dev.msi
Thanks!
0
Hi Ryan,
As you can verify by the release notes, v.4.2.10.1110 is the official Q3 release where we introduced this problem. You should upgrade to the latest Q3 SP1 release and generally we highly recommend always using the latest version prior contacting us.
Best wishes,
Steve
the Telerik team
As you can verify by the release notes, v.4.2.10.1110 is the official Q3 release where we introduced this problem. You should upgrade to the latest Q3 SP1 release and generally we highly recommend always using the latest version prior contacting us.
Best wishes,
Steve
the Telerik team
0
Varun
Top achievements
Rank 1
answered on 19 Dec 2011, 09:16 PM
Thanks much changing to IN helped!