Subreport not running

Posted by: nita.kokat on 4 December 2017, 10:28 pm EST

    • Post Options:
    • Link

    Posted 4 December 2017, 10:28 pm EST

    I am using active report version 9.5.6334. I am having main report with 3 subreports. I am running main report but no subreports. StartReport() is not getting fired for subreport. do i need to execute it explicitly or main report take care of it?

  • Posted 4 December 2017, 11:32 pm EST

    I tried using subreport1.Run() method but still it is not showing contents on report

  • Posted 5 December 2017, 9:04 pm EST

    Hello,

    Did you assign the sub-report instance ‘subreport1’ to the SubReport control’s Report property, as follows:

    controlSubreport.Report = subreport1;
    

    Doing this would assign your sub-report ‘subreport1’ to the SubReport control ‘controlSubreport’ and then the subreport1’s ReportStart event will automatically fire.

    Also, I suggest you to take a look at product sample SubReport located at …\Documents\GrapeCity Samples\ActiveReports 9\Section Reports\Layout\SubReport\

    If still face any trouble then do let me know.

    Thanks,

    Ruchir Agarwal

  • Posted 7 December 2017, 8:54 pm EST

    Thanks, working!!

Need extra support?

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

Learn More

Forum Channels