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

Free Support Forum - aspose.com

Functionality for words

Hi
I have to generate a report using ASPOSE.Words. Have a few questions in mind before getting started.
The data for my report will be a result of various joins from different tables … so is it possible to bind the merge field with data from various tables…
Also the data has to be grouped on the basis of various conditions and is of repititive nature… Is tht possible …?
Hope to hear back soon…
Thanks

Hi

Thanks for your inquiry. I think you can achieve what you need using Mail Merge feature. Please see the following link.
https://docs.aspose.com/words/net/types-of-mail-merge-operations/
Regarding your requirement about grouping, currently, there is no direct way to populate regions with parent-child relationships. It is possible, however, to generate the above 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.
https://github.com/aspose-words/
Please let me know if you need more information, I will be glad to help you.
Best regards.

I am trying to do the same as it is done in the ProductCatalog but still I am getting the error " Nested mail merge regions are not yet supported."
What am I missing…
How should I define the template for this…

Hi

Thanks for your inquiry. To generate Product catalog report, there are used two templates. During processing, these documents are merged. After installing Aspose.Words you can find these templates here:
C:\Program Files\Aspose\Aspose.Words\Demos\Common\Documents
In addition, we are going to support nested regions during mail merge in one of future releases. I will notify you as soon as this feature is supported.
Best regards.

The issues you have found earlier (filed as 39) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(32)