An extra page at the end of my report.

Posted by: lds on 25 September 2017, 4:02 am EST

  • Posted 25 September 2017, 4:02 am EST

    I have a report, where data is fetched from a xml-file. Now my customer wants an extra reportpage without data at the end of the report.
    The extra page is to give him opportunity to manually add data on the paper for later update when hi is back on his office.

    Is this possible at all or are there any recommended way to deal with such a request?
  • Replied 26 September 2017, 10:16 am EST

    Hello,

    To insert a new page to the end of report you can simply use the code as follows:

    rptOne rpt1 = new rptOne();
    rpt1.Run();
    rpt1.Document.Pages.InsertNew(rpt1.Document.Pages.Count-1);
    viewer1.Document = rpt1.Document;


    Thanks,
    Deepak Sharma
Need extra support?

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

Learn More

Forum Channels