Subreport Parameter Null

2 posts, 0 answers
  1. Christopher
    Christopher avatar
    5 posts
    Member since:
    Apr 2015

    Posted 23 Dec 2019 Link to this post

    In working in the Telerik Report Designer, I am passing a field from the main report datasource to a parameter in the subreport.  I have verified that the field in the main report is not null or empty by displaying it on the report, showing a value.  But in the subreport it is getting passed as null for some reason (I know it is null and not empty because if I set Allow Nulls to false for the parameter it errors), and displaying the parameter on the subreport shows nothing.

    I have searched this issue and all I can find is how to work with parameters in C# or VB.Net code, but I am not at that step yet and am just wanting to preview the report within the standalone designer.  I can get the main report to show the data it should, but the subreport is always blank due to the null parameter.

  2. Christopher
    Christopher avatar
    5 posts
    Member since:
    Apr 2015

    Posted 23 Dec 2019 Link to this post

    I figured out the issue.  When creating the parameter within the subreport, I set the AvailableValues properties thinking this was a requirement to validate the data being passed in.  Looking at a sample subreport, I saw that this was left to none, and after doing the same with mine it worked without any further issues (on this subject at least).
Back to Top