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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Conditional merge fields

Thread ID:





46400 Jul 12,2006 03:01 PM UTC Jul 12,2006 08:33 PM UTC WinForms 1
Tags: DocIO
John Smith
Asked On July 12, 2006 03:01 PM UTC

I am evaluating your product and I am looking for a way to mailmerge a document using the Word IF conditions statement for mail merge. My applications requires usage of different clauses based on different result of the merge field. It could be an additional paragraph, removal of a row from the table, or differences in gender pronouns (he/she/they/we) etc. I am pressed with time and my first try on your DocIO does not seems to be able to handle a easy {IF {MERGEFIELD "LastName"} <> "" "{MERGEFIELD "LastName"}" "{MERGEFIELD "FirstName"}"} test... (I have modified the employee report demo slightly to test this) To Save time, can it be done or should I look elsewhere?

Administrator [Syncfusion]
Replied On July 12, 2006 08:33 PM UTC

Hi John, Thank you for considering Syncfusion Essential DocIO. 1. Currently we do not have a support for Mailmerge a document with conditional merge field [ IF Field ]. I have filed a bug report regarding this issue with our development team. You can track the live status of this issue here, http://www.syncfusion.com/support/issues/docio/Default.aspx?ToDo=view&questId=2378 2. Also, we offer an event called MailMerge.MergeField which enables you to enhance the capability of Mailmerge. It allow you to implement further control over the mail merge and perform any actions when the event occurs. I have created a simple sample to demonstrate this functionality. Please take a look for this sample and let me know if it helps. http://www.syncfusion.com/Support/user/uploads/MailingLabels_a09fe20a.zip Please let me know if you have any other questions. Thanks, Prabhu.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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