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.

Mail Merge -> Tables -> Only one cell per row

Thread ID:

Created:

Updated:

Platform:

Replies:

116488 Jun 2,2014 05:19 AM Jun 10,2014 04:59 AM ASP.NET Web Forms (Classic) 3
loading
Tags: DocIO
Nicky Mogensen
Asked On June 2, 2014 05:19 AM

Hi there.

I have a problem, when generating a Word document with a table which only has one row. Then I can't get the MailMerge to make multiple cells, it just makes multiple lines inside the cell instead.

Code that generates the table and Mail Merge Fields:
http://pastebin.com/bRA8Akvk

Thanks in advance
Nicky Mogensen



Sathish K [Syncfusion]
Replied On June 5, 2014 07:43 AM

Hi Nicky,

 

Thank you for your interest in Syncfusion products.

 

If you define “TableStart” and “TableEnd” within a single cell, then it will be consider as a single group and populated data through the mail merge will be merged in the same cell itself. It is an actual behaviour with mail merge and it is not an issue. As a work around to populate resultant data in separate rows, kindly insert another cell in the row and place the “TableEnd” field on it which will populate the mail merge data in separate rows.

 

Please let us know if you have any other questions.

 

Regards,

Sathish 


Nicky Mogensen
Replied On June 6, 2014 04:47 AM

That workaround is not an option.

But an option was to avoid using a table. Just thought i was required when having more than one result.

Thanks for the answer.

Sathish K [Syncfusion]
Replied On June 10, 2014 04:59 AM

Hi Nicky,

 

Thank you for your update.

 

If you are in the need to use the table then you can use two columns and insert the fields “TableStart and TableEnd” in separate column instead of using a single column in order to populate mail merge data in separate rows. Otherwise you can avoid using table.

 

Please let us know if you have any other questions.

 

Regards,

Sathish


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.

;