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.
Syncfusion Feedback

Best approach for mail merge of labels

Thread ID:

Created:

Updated:

Platform:

Replies:

113973 Oct 21,2013 05:43 AM UTC Oct 23,2013 09:33 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: DocIO
IT Helpdesk
Asked On October 21, 2013 05:43 AM UTC

I've been asked to investigate using DocIO and mail merge to make a web-based label printing solution. I've built a Word label template using the standard Mailings > Create Labels functionality in Word 2010. I've then added a table to each of the labels and added my mail merge fields in. I've then copied the table across all 21 labels on the page.

I'm retrieving 50 unique records from my database, but when I merge using MailMerge.Execute(), I get 50 pages with each page containing 21 labels with the same field data. What I want is (in this case) just two full pages and a third page with the remaining 8 labels, with each label being unique.

Can you provide me with some pointers as to what I'm doing wrong?

Sivasubramani V [Syncfusion]
Replied On October 23, 2013 09:33 AM UTC

Hi IT Helpdesk,  

Thank you for your interest in Syncfusion products. 

Based on the given details, we have prepared a sample to meet your requirement to mail merge 50 same merge fields (labels) available in the document with 50 records of data by means of using ‘Next” field in the input template document. Please find the same from the attachment below. 

Note: In the input template document we have inserted “next” field after each merge field in order to navigate to next record after mail merging the field. 

For more information regarding mail merge functionality of DocIO, kindly refer our UG documentation from below link.

http://help.syncfusion.com/ug/windows%20forms/docio/default.htm#!documents/mailmerge.htm

If we misunderstood your requirement, kindly provide us with the more details on your requirement along with input document, expected output document and sample data for mail merge. 

Please let us know if you have any other questions. 

Thanks & Regards

Sivasubramani.V



Attachement_73c3c6d1.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.

Warning Icon 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.Close Icon

;