Having trouble passing parameter to SubReport

Posted by: craigstukas on 23 April 2020, 6:44 am EST

    • Post Options:
    • Link

    Posted 23 April 2020, 6:44 am EST

    I am using AR 13 in Visual Studio 2019 and can’t figure out how to pass a parameter from a Main report to a sub report. I can run the sub report separately and set the parameters manually through the prompt, but when I run the main report the no parameters are passed.

    Where exactly does the passing of parameters happen? Also, when I look at the sub reports properties on the main report, the parameters property is empty and does not allow me to add to it.

  • Posted 23 April 2020, 4:35 pm EST - Updated 30 September 2022, 6:37 am EST

    Hello,

    Could you please refer to the following documentation link:

    https://help.grapecity.com/activereports/webhelp/AR13/webframe.html#SubreportinRDLReport.html

    the parameters property is empty and does not allow me to add to it.

    I am able to add the parameter. Please refer to the attached image. Could you please share the version that you are using.

    Also, You need to map MainReport parameter with subReport Parameter with the correct name. You can have a different name for both parameter. Please refer to the attached image.

    Thanks,

    Mohit

  • Posted 23 April 2020, 11:38 pm EST

    Hi Mohit, Thanks for replying.

    My issue seems to be that I am unable to add a parameter like in the picture you sent. I can open that window but there is no option to add a parameter? I am using Active Reports 13 in Visual Studio 2019.

  • Posted 24 April 2020, 12:47 am EST

    Hello,

    I am not able to replicate the issue at my end with AR13 SP2 + VS2019 16.5.2. Could you please check at your end.

    Also, try after installing the latest build:

    http://cdn.grapecity.com/ActiveReports/AR13/hotfixes/ActiveReports-v13.2.18765.0.msi

    Thanks,

    Mohit

    2020-04-24 at 19-13-28.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels