We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Problem with nested merge, without db connection

Good morning,

I wanted to create a template word doc, with tables.
In this table, in one of the cells, i wanted to have a list of values (for exemple strings).

So, to resume, i have a repeater, and in one cell in each row of the repeater, i have a repeater too.

But, i needn''t to use mailmerge.ExecuteNestedGroup, because this method needs database connection, and sql queries.

When i launch the process, i have an exception : reference not defined to an instance of object. at the line : 48.

And if you look at the generated document, (the last step in the directory : Steps of process), you can see the second child table start in the first row, like it keeps index of the first row.

Can you help me about this problem ?
Thanks in advance !

Evan BOISSONNOT
FWA - Front Web Applications



For bugs_20081223-110438_2613d133.zip

3 Replies

BP Bhuvaneswari P Syncfusion Team December 23, 2008 11:49 AM UTC

Hi,

Thank you for your interest in Syncfusion products.

We have logged feature regarding to execute the nested mail merge without using DB connection and we have forward regarding this to our development team.

However, we can work around this issue by executing the child table alone in one document and parent table in one document. Finally merge these two documents table content to get the final output.

Please refer to the below custom sample for your template document:

http://websamples.syncfusion.com/samples/DocIO.Windows/52295/main.htm


Have a look into the sample and let us know if this helps you.

Best Regards,
Bhuvana



JH Josh H June 19, 2009 05:05 PM UTC

Any word on when this feature will be added? Nested Mail Merge without a db connection.
If I have a DataSet with a DataRelation detailing a parent and child table, can I get this working currently? For example, merge Orders, and their Order details.


SS Sri Subhashini M Syncfusion Team June 30, 2009 11:37 AM UTC

Hi,

Sorry for the long delay in getting back with you.

This feature has been implemented in our Volume 2 release.

Please download the latest version from the below forum thread:
http://www.syncfusion.com/support/forums/message.aspx?MessageID=80748

Please refer the below documentation link regarding this:
http://help.syncfusion.com/ug_72/docio/NestedMailMerge.html

API details:
ExecuteNestedGroup(DataSet dataSet, ArrayList commands) //Executes nested mail merge within a Group, for the specified data from the Data Set.

Please upgrade and try this and let us know if you need any further assistance.

Regards,
Suba

Loader.
Live Chat Icon For mobile
Up arrow icon