Microsoft Knowledge Base |
|
Blank ELSE Causes Incorrect Result in Converted Document |
|
|
Last reviewed: July 31, 1997
Article ID: Q165636 |
|
The information in this article applies to:
SYMPTOMSWhen you save a mail merge main document containing conditional MERGEFIELD statements as a Word for the Macintosh 4.0 or 5.x document, the information in the ELSE statement of a conditional MERGEFIELD statement is lost. NOTE: When you open a Word 6.0/95 file in Word for the Macintosh 4.0 or 5.x using the Word 6.0 for Macintosh and Windows converter, the field is lost; all that remains is the text reflecting the results of the first record evaluated by the conditional statement.
WORKAROUNDRe-create the conditional MERGEFIELD statement. NOTE: You may have to reattach the data source if you use the Print Merge Helper.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThe conversion process does not correctly handle the conditional MERGEFIELD statement. For example, if the statement in Word 6.0 or 7.0 is:
{IF {MERGEFIELD LastName}="Jones" "My last name is Jones" ""}
The same statement after opening the converted document in Word for the
Macintosh 5.1 would appear as:
<<IF <<LastName>>=”Jones”>>”My” <<ELSE>>”last”<<ENDIF>>NOTE: Reopening the converted document into Word 6 or 7.x shows the statement as:
{IF{mergefield LastName}=”Jones” "My" "last"}
For additional information, please see the following article in the
Microsoft Knowledge Base:
ARTICLE-ID: Q105893 TITLE : How to Toggle Field Codes Off and On in Word |
|
Additional query words: conditional print merge
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |