This is a migrated thread and some comments may be shown as answers.

sub report in table problem?

3 Answers 276 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
akpaga akpaga
Top achievements
Rank 1
akpaga akpaga asked on 15 Jun 2012, 04:03 PM
Hi ,

I have a table created from a table wizard  and now i want to insert a subreport below it  based one of its fields.

CustomerId Customer Report
Sub report related  to  Each customer ID

I have done the passing of the Customer ID field to the Subreport  customer Id  filter....but   an error keeping coming saying

Exception: Invalid value of report parameter 'CustomerID'.]

Can anyone throw some light on it please?

 

3 Answers, 1 is accepted

Sort by
0
Hadib Ahmabi
Top achievements
Rank 1
answered on 18 Jun 2012, 09:37 AM
What is the type of the Report Parameter and the type of the field you are trying to pass?

If you expression is is "=Fields.CustomerID" try with this instead "=ReportItem.DataObject.CustomerID"
0
Fridli Jacober
Top achievements
Rank 1
answered on 08 Jan 2015, 12:38 PM
Unfortunately, this doesn't work for me.
As soon as I put the subreport in a table, I get the "Invalid value of report parameter" error,
even if I change the parameter passing as suggested.
0
Nasko
Telerik team
answered on 13 Jan 2015, 08:36 AM
Hello Fridli Jacober,

There are a couple of possible reasons for the described behavior which will ultimately result in one of the following:
  1. A value is passed to the parameter, however, the value is of a data type which is not supported by the report parameter configuration.
  2. You are trying to pass the value, but due to an incorrect configuration, the value does not reach its destination. The report parameter is left without a value and generates the described error message.

In order to troubleshoot the issue at your end, please set a default value for all of the report parameters in the sub-report. In case the issue persists after that, then the new value overwrites the default one, but its data type is not supported.
In case the error message is not present anymore, this means the value is not passed to the sub-report due to incorrect configuration.
If you need further help after trying the above suggestions, please open a new support ticket where you can attach a sample report exhibiting the problematic behavior. We will review it locally and advise accordingly.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
akpaga akpaga
Top achievements
Rank 1
Answers by
Hadib Ahmabi
Top achievements
Rank 1
Fridli Jacober
Top achievements
Rank 1
Nasko
Telerik team
Share this question
or