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

Mail Merge Fields

Hi,

Is it possible to refer to a data field in a parent merge group. For example:-

«BeginGroup:main_rec»

name is «cname»

«BeginGroup:ssinstal_rec»

The name in the parent main_rec is «main_rec.cname»

«EndGroup:ssinstal_rec»

«EndGroup:main_rec»

I've tried using an alias as shown above which doesn't work. Is there any way of achieving this?

Thanks



1 Reply

PR Poornima R Syncfusion Team May 3, 2011 06:37 AM UTC

Hi Darren,


Thank you for your interest in Syncfusion Products.


Generally merge field name cannot be accessed using its group name as «main_rec.cname». Merge field can be accessed only when the merge field name in the document is similar to the field name in the data table. From your requirement, it is clear that you need to preserve the merge field of the outer group (“main_rec”) within the nested group (“ssinstal_rec”). Currently DocIO performs mail merging only when the field name is specified within their respective groups. The field name specified in the other groups cannot be merged during mail merging. This is the current behavior of DocIO and not an issue.

Please let us know if you have any questions.

Regards,
Poornima






Loader.
Live Chat Icon For mobile
Up arrow icon