Removing blank lines in addresses on form letters
-
Figure 299 shows a typical address block with field highlighting on. The field <ad2> is the second address line, which may be blank for some addresses, so you want to have that whole line hidden if the field is blank.
-
Select the <ad2> field, and then select Insert > Section from the menu bar. In the Insert Section dialog (Figure 301), select the Hide checkbox. In the With Condition box, type the field name (ad2 in this case) and EQ "" (which means “equals a blank recordâ€). Click Insert.
Back in the document, if you have section markers showing, you will see something similar to Figure 300.
Now, when you do a mail merge using this document, the line inside the section (including its paragraph marker) will be hidden if the field <ad2> is blank.