Example 1 shows how to remove paragraphs which contain merge fields but none of those fields was actually merged. Field is considered to be merged if its data source value is defined, not null and not empty string. «RangeStart:Example1»Start of Example 1 Header: «Header» First choice: «FirstChoice» Second choice: «SecondChoice» End of Example 1«RangeEnd:Example1» Example 2 shows how to remove table rows which contain merge fields but none of those fields was actually merged. This is useful if you are using table to arrange field labels and actual fields like in the following example. «RangeStart:Example2»Start of Example 2 Name: «Name» Email: «Email» Address: «Address» Country: «Country» End of Example 2«RangeEnd:Example2» Example 3 shows how to remove mail merge range which contains merge fields but none of those fields was actually merged. This is useful if you also want to delete additional content before, after or in the middle of merge field paragraphs, like Note paragraph in the following example. «RangeStart:Example3»Start of Example 3 Number of items: «Count» «RangeStart:HeaderContent» Header: «Header» Content: «Body» Note: This is some note that goes after every header / content pair. «RangeEnd:HeaderContent» End of Example 3«RangeEnd:Example3»
© Copyright 2021 DropDoc