Overriding GroupHeader details executing two Reports at the same time

Posted by: trisha.b.sinha on 14 August 2020, 12:43 am EST

    • Post Options:
    • Link

    Posted 14 August 2020, 12:43 am EST

    I am using activeReports Version 13 in my application and while I am loading two reports at the same time the Second Report groupheader override the first report’s groupheader.

    I also observed that LoadDocument is executing after both the reports.

    Can someone suggest solution for the same?

  • Posted 16 August 2020, 8:15 pm EST

    Hello,

    Could you explain the problem in a little bit of detail? However, you can try after merging the both report using the following lines of code.

    for (i=0; i < SectionDocument1.Pages.Count; i++)
                {
                    SectionDocument2.Pages.Insert(i,SectionDocument1.Pages[i]);
                }
    

    Thanks,

    Mohit

  • Posted 17 August 2020, 1:19 am EST

    We want to open two reports separate at the same time, but it’s replacing group Header details as it will pick last report’s Group header in both the Report.

    Eg:

    OpenReport(“Report1”);

    OpenReport(“Report2”);

    OpenReport is a function from where it will fetch the sql data and bind group header details from inner functions.

    Issue: It is replacing last report which is (Report2)'s detail in both the report.

  • Posted 17 August 2020, 6:44 pm EST

    Hi,

    Can you please share a small stripped down application demonstrating the issue? This would help me in looking at the code snippet which causes the problem at your end and assist you further at the earliest?

    Thanks,

    Pragati

Need extra support?

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

Learn More

Forum Channels