We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Mailmerge master detail

I am currently evaluating ASPOSE Word, for mail merging.

Suppose I have orders and orderdetails, and I want to mailmerge all orders with their corresponding orderdetails:

product 1 price1
product 2 price2

Order 2
product45 price45
product78 price78
product99 price99

How would this be accomplished ? When order1 is being mailmerged, i need a way to retrieve orderdetails for order1 and mailmerge this. And so on for order2, order3 , …
I need som

This message was posted using Page2Forum from Execute Simple Mail Merge - Aspose.Words for .NET and Java


<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Unfortunately there is no "one step" way to populate a document with data that has parent-child relationships. Mail merge regions can only process one data table at a time.

But you can generate such reports by performing mail merge several times and building up a resulting document from several documents or fragments. The Product Catalog and Sales Invoice samples in the demo project supplied with Aspose.Words demonstrate the suggested techniques.

Hope this helps.

Best regards.