NestedMailMerge example - How to insert a page break for each Order

Hello there,

The example in Aspose.Words for .NET\Examples\MailMergeAndReporting\NestedMailMerge produced ‘Invoice Out.doc’, in which the two invoices are in the same page.

How would I go about inserting a page break for each invoice, as in ‘Invoice Out with page break.doc’?

I tried Insert - Break on the right of «TableEnd:Order»

in 'Invoice Template.doc' but not successful.

Thank you.

Regards,
Ben

Hi Ben,


Thanks
for your inquiry. Please note that Aspose.Words inserts sections with the same type of template document section while mail merge process for each record. Please see the attached image for detail.

Please read how to control new pages during Mail Merge:
http://www.aspose.com/docs/display/wordsnet/How+to++Control+New+Pages+during+Mail+Merge

I have tested the same scenario and have not found the shared issue. I have attached the output document with this post.

Moreover, please request for temporary license from here:
http://www.aspose.com/corporate/purchase/temporary-license.aspx

Hello there,

After acquiring the temporary license, it works now.

Thank you.
Ben

Hi Ben,


Thanks
for your feedback. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.