Free Support Forum - aspose.com

Combining cells in nested mailmerge regions

I’m creating a table with results of two datasources, one master and another slave. The template is attached as Template.docx.

It works well, creating a row for each “slave”, repetaing the master fields, as is shown in Actual.docx.

But need to combine the cells of the fields of the “master” datasource for all the “nested” datasource fields, obtaining the result shown in whatIWant.docx
The datasources has customer c1 with accounts a1, a2, a3 y c2 with accounts a4, a5.

How can I do that?
Thanks in advance.

Hi Carles,

Thanks for your inquiry.

Perhaps you're using an older version of Aspose.Words; as with Aspose.Words 13.2.0, I was unable to reproduce this issue on my side. The output is comming out as shown in your 'whatIWant.docx' document. I would suggest you please upgrade to the latest version of Aspose.Words i.e. 13.2.0. You can download it from the following link:
http://www.aspose.com/community/files/72/java-components/aspose.words-for-java/default.aspx

I hope, this helps.

Best regards,