I found an issue where when there is a mergefield with a line feed in the IF statement, it does not collapse up during Mailmerge when empty.
<MERGEFIELD Data1>
<IF <MERGEFIELD Data2>
= "TEST" "" "">
<MERGEFIELD Data3>
I…...maintain the integrity of your mail merge outputs. Best, Professionalize...RemoveUnusedFields; // Execute mail merge with the single-row DataTable...