Async SectionReport Report Start

Posted by: rgreen on 14 June 2021, 2:41 am EST

  • Posted 14 June 2021, 2:41 am EST

    Hello,

    I am using ActiveReports 15 and SectionReports. I need to make the ReportStart event async to run the query to get my data. However, it isn’t waiting for the response so the report is disposed before the data gets returned. How do I make this event work with async?

  • Posted 15 June 2021, 10:09 pm EST

    Hello,

    Can you assign the data to the section report object directly without using the ‘ReportStart’ event like as follow:

    SectionReport rpt = new SectionReport();

    rpt.DataSource=“Your datasource”;

    Thanks,

    Mohti

Need extra support?

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

Learn More

Forum Channels