sub report in table problem?

4 posts, 0 answers
  1. akpaga akpaga
    akpaga akpaga avatar
    24 posts
    Member since:
    Dec 2009

    Posted 15 Jun 2012 Link to this post

    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?

     
  2. Hadib Ahmabi
    Hadib Ahmabi avatar
    181 posts
    Member since:
    Nov 2011

    Posted 18 Jun 2012 Link to this post

    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"
  3. Fridli Jacober
    Fridli Jacober avatar
    89 posts
    Member since:
    Dec 2009

    Posted 08 Jan 2015 in reply to Hadib Ahmabi Link to this post

    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.
  4. Nasko
    Admin
    Nasko avatar
    1050 posts

    Posted 13 Jan 2015 Link to this post

    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.

     
Back to Top