The information in this article applies to:
SYMPTOMSWhen you use a nested IF field in a Word mail merge, the following error message may appear: NOTE: This error message may also appear when you use an INCLUDETEXT field as part of a mail merge main document to insert (include) a document containing a nested IF field, even when the nested IF field does not contain more than 20 levels. CAUSE
This functionality is by design. Word supports field nesting only to 20 levels.
WORKAROUNDTo work around this problem, do one of the following: Use a nested IF field of 20 or fewer levels. -or-Do not use an INCLUDETEXT field to include a subdocument in a mail merge main document. Instead, make the subdocument containing the nested IF fields the mail merge main document. MORE INFORMATION
IF (If...Then...Else...) fields print information only if a condition
you've specified is met. For example, you can use an IF field to create a
form letter that goes only to clients who live within a particular ZIP Code
area.
{IF {MERGEFIELD FIELD1} <> "" "{IF {MERGEFIELD FIELD2} <> "" "{IFFor additional information, please see the following article in the Microsoft Knowledge Base: Q90393 WD: How to Use Nested IF Fields in a Print Merge DocumentFor more information about conditional Word fields, click the Office Assistant, type "nesting if fields," click Search, and then click to view "Customize documents created with mail merge." NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If Microsoft Help is not installed on your computer, please see the following article in the Microsoft Knowledge Base: Q120802 Office: How to Add/Remove a Single Office Program or Component Additional query words: mailmerge printmerge
Keywords : kbfield winword word97 kbmerge |
Last Reviewed: August 25, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |