WD2000: Unwanted Backslash Included in IF Field Result

ID: Q193709


The information in this article applies to:


SYMPTOMS

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


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products 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:
Q197837 WD2000: Incorrect Results Using Backslash in Conditional Merge

Additional query words: mail mailmerge back slash quotationmark calculation equation


Keywords          : kbdta wd2000 
Version           : WINDOWS:2000
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: May 13, 1999