RemoveEmptyParagraphs is not working version 2.1.14.0

I have created a word template which has multiple tables (table start and table ends). One of the table has only one field which can have a value or it can be blank. In case when it is blank, i want to remove the complete line. I am trying to use RemoveEmptyParagraphs but it doesn’t seem to work and i get blank line if there is no value.
Please let me know how can I overcome this problem.
Thanks,
Anand

Thank you, we’ll reply in 1-2 days.

If I have a table and mail merge region is inside one row like this:

<<TableStart:OrderDetail>><<ProductId>><<TableEnd:OrderDetail>>

Then during mail merge the row is deleted if there are no records found.

In your case you probably have a record, but the field does not have a value. I’m not sure we can make it delete the whole row, it could be complicated to figure out when to delete it. If you send me your document and explain what do you want to achieve, we will look if it is a common scenario and might do something about it.