The information in this article applies to:
SYMPTOMSWhen you perform a mail merge in Word for Windows, blank lines may not be suppressed when you use one of the standard conditional statements (using IF fields) in your mail merge main document. In both of the following examples, which contain conditional (IF field) statements, Word 6.0 does not suppress the blank line when the ADDRESS2 MERGEFIELD is empty (by contrast, these statements correctly suppress the blank line in Word 2.x for Windows): Example 1
Example 2
Note: A similar problem occurs in which Word does not suppress blank SPACES
for a conditional statement in a mail merge. For information about this
topic, query on the following words in the Microsoft Knowledge Base:
suppress* and blank and spaces and conditional and STATUSWe are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. WORKAROUNDS
In both of the methods below, [Press ENTER] means you should press ENTER to
insert a paragraph mark (hard carriage return) inside the True Text element
of the conditional statement. Do not press ENTER elsewhere; instead, allow
normal line wrapping to occur.
Method 1
Note: You can include the MERGEFIELD fields for subsequent lines within the
True Text and False Text elements of the conditional statement.
Method 2
Note: In this method, only a True Text element is necessary; when there is
no False Text element and the comparison is false, the IF statement has no
result.
For more information about conditional statements, double-click the Help button on the Standard toolbar, and then type "if field" (without the quotation marks). REFERENCES"Microsoft Word User's Guide," version 6.0, pages 692, 694, 697-702 Additional query words: 6.00a mergefield conditional word6 word7 6.00c word95 winword blank suppress mail merge
Keywords : kbprint kbmerge |
Last Reviewed: December 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |