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.
Unfortunately, activation email could not send to your email. Please try again.

Mailing label mail merge not removing NextRecord merge fields

Thread ID:

Created:

Updated:

Platform:

Replies:

105928 Nov 28,2012 09:57 AM Apr 29,2013 07:52 AM Windows Forms 3
loading
Tags: DocIO
Darren
Asked On November 28, 2012 09:57 AM

I created a sample to do a mail merge for mailing labels which contains the Next Record merge field codes so that many can be on one page.  When the merge runs it puts the data in but the output still has the <<Next Record>> text in it.  I have the following 3 things set but it doesn't appear to do anything.

doc.MailMerge.RemoveEmptyParagraphs = true;
doc.MailMerge.RemoveEmptyGroup = true;
doc.MailMerge.ClearFields = true;

Why is the <<Next Record>> text left in the document?

If I leave out the next record fields then it duplicates the same address in every item on the page and creates additional pages for each row in the table.  This means that the code is picking up on the next record fields but I would expect that they would not be dumped to the output.

Ramkumar M [Syncfusion]
Replied On November 30, 2012 05:43 AM

Hi Darren,

Thank you for your interest in Syncfusion products.

Could you please provide us the runnable sample along with input document to reproduce the mentioned issue? So that we can analyze on the exact cause of the issue and provide you the proper solution.

Please let us know if you have any question

Regards

Ramkumar


Benjamin Cage
Replied On April 24, 2013 11:04 PM

Hi Everybody - was there a resolution to this issue? We have the same :)

Siva Subramanian [Syncfusion]
Replied On April 29, 2013 07:52 AM

Hi Benjamin,

 

Thank you for your interest in Syncfusion Products.

 

The mentioned <<Next>> field issue in this thread has been fixed in our Essential Studio Version 9.3.0.61. Once the next record field is encountered, the next record for the mail merge is fetched and the encountered <<Next>> field is removed from the document. We have prepared a simple sample to illustrate this. Kindly download the sample from the attachments and let us know if this helps you.

 

If you are using Essential Studio versions older than 9.3.0.61, please upgrade to the latest versions to resolve this issue mentioned in this thread. Please find below the latest version(11.1.0.21) download link.

 

Latest version download Link:

http://www.syncfusion.com/support/forums/general/107138/Essential-Studio-2013-Volume-1-Final-Release-v111021-available-for-download

 

 

In case if still issue reproduced in your side, kindly send the sample/code snippet, Assembly version, input and output documents which you used to reproduce this issue so that we can further investigate this issue on our side to rovide appropriate solution.

 

Please let us know if you have any questions.

 

Regards,

 

Sivasubramanian.



GenerateWord_Windows_9945caf3.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;