Posted 11 February 2021, 4:27 pm EST
Hello,
I am creating multiple section reports and combining them into a single report using as follows:
for (int y = 0; y < sourceRPT.Document.Pages.Count; y++) { hostRPT.Document.Pages.Add(Source.Document.Pages[y]); }
This all works fine when I send to printer and all the pages print, but when I use the Viewer LoadDocument(hostRPT) is rerunning the report and all my added pages are lost.
How can I get around this or prevent the viewer from running the report?
TIA