Microsoft KB Archive/193709

= WD2000: Unwanted Backslash Included in IF Field Result =

Article ID: 193709

Article Last Modified on 12/6/2000

-

APPLIES TO


 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q193709



SYMPTOMS
An unwanted backslash "\" appears and prints in a conditional field's result.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
Commas and quotation marks serve special purposes inside conditional (If) fields. A backslash immediately before one of these characters inside a field indicates that the character following is not functional but is meant to be displayed. The first instance of one of these display characters works correctly and only displays the quotation mark or comma, but subsequent instances of \" or \ cause both characters to display and print.

Example:  {if BookMarkName = "test" "\"True\"" "\"False\""}

True result: "True\"    Desired result "True" False result: "False\"  Desired result "False"

For additional information, please see the following Microsoft Knowledge Base article:

197837 WD2000: Incorrect Results Using Backslash in Conditional Merge

Additional query words: mail mailmerge back slash quotationmark calculation equation

Keywords: kbbug kbnofix KB193709

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.