WD: Certain Characters Do Not Display in Field Result

Last reviewed: February 3, 1998
Article ID: Q134998
The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows NT, version 6.0
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows
  • Microsoft Word for the Macintosh, versions 6.0, 6.0.1, 6.0.1a
  • Microsoft Word 98 Macintosh Edition

SYMPTOMS

The backslash ( \ ) and quotation mark ( " ) characters don't display in field results as you intended.

For example, the field

   {FILLIN "Type "M" or "F" in the box."}

results in the dialog box showing only the word "Type," without the quotation marks.

CAUSE

The backslash and quotation mark characters are special characters in fields. The backslash is used to indicate the next character as a switch command in the field. Quotation marks are used to enclose literal text strings (see below) within a field.

WORKAROUND

To work around this behavior, use a backslash (with no space) before the character you want to include. This tells Word that you want to include this character in the text string.

Preface a quotation mark with \ to make it display in a field code.

For example, the field

   {FILLIN "Type \"M\" or \"F\" in the box."}

appears in the dialog box as:

   Type "M" or "F" in the box.

You must also use an extra backslash in an INCLUDE field when you indicate a long Windows path. For example:

   {includetext "c:\\winword\\docs\\start.doc"}

For more information about using special characters inside fields, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q146648
   TITLE     : How to Use Quotation Marks in a Conditional Merge Result

REFERENCES

"Microsoft Word User's Guide," version 6.0, Chapter 32, pages 731-741


Additional query words:
Keywords : kbfield
Version : MACINTOSH:6.0,6.0.1,6.0.1a,98: WINDOWS:6.0,6.0a,6.0c,7.0,7.0a,97
Platform : MACINTOSH WINDOWS
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 3, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.