We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Remove bullet using conditional mail merge logic

Hi,

I want to ask, is there any method to control to shows a bullet or not in a word template using mail merge field logic only without any coding?

Regards,
Ken Wan

Hi Ken,

Thanks for your request. You can try using IF field conditions to achieve this. For example see the attached documents. Press Alt+F9 to see field codes.
Here is code, which I used to fill the document with data:

Document doc = new Document(@"Test001\in.doc");
doc.MailMerge.Execute(new string[]
{
    "test"
}, new object[]
{
    "test"
});
doc.Save(@"Test001\out.doc");

Best regards.