Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
Appending pages to an existing report saved as XML
posted

Hello,

Is it possible to load a previous created report using the Load function of the report

eg. :
Report Doc = new Report
Doc.Load("text.xml")

Now when you add a section is added to the front of the report. I want to append to the end of the loaded report.

How do i do this ?

Thanks in advance,

 P. Ruedisueli

  • 469350
    Verified Answer
    Offline posted

    Hi,

    I don't understand your question. If you load a report from a file and add a section, the new section is added on to the end of the report, not the beginning. There is no way to insert a section at the beginning, the Documents engine only allows you to add to the end.

    I tested this out and it works fine for me.

    I'm attaching my sample project here so you can take a look. Push button 1 and you get a report with one section. Push button 2 and it loads the saved report file and adds a second section to the end.

    WindowsFormsApplication29.zip