merge reports

yfsyfs
edited 2:06AM in FastReport .NET
Hello,
I have 2 reports as CS file.
The problem is with appending before print.
I try something like this

rep1_cs.prepare();

rep2_cs.prepare();
rep2_cs.savePrepared(stream2);

rep1_cs.loadPrepared(stream2);
rep1_cs.prepare(true);

In preview window order pages is wrong:
page1 = rep2
page2 = rep1

I'm tried play with addPages, but no success.
Is there is possibility or bug to merge reports generate as CS file.

thanks for help and best regards, yaro

Comments

  • edited 2:06AM
    Attach an sample project.
  • yfsyfs
    edited 2:06AM
    i found solution in the forum about addpage functionality.
    It works ;-) thanks

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.