Field Braces Not Ignored During Search in Word for Windows

ID: Q77681

The information in this article applies to:

SUMMARY

In Microsoft Word for Windows, if you search for items that are field results and the search includes a character before the text of the field result, Word cannot find the text. The field characters need to be included in the search string.

MORE INFORMATION

The field characters or braces surrounding the field code are not ignored even if they are turned off or hidden. When viewing the field results, Word remembers that field characters surround the field results. Therefore, when searching for text that includes characters before the text contained in the field result, such as "^p", the matching text is not found.

Steps to Reproduce Problem

1. In a Word for Windows document, type "See page number:" (without

   quotation marks).

2. With the insertion point positioned directly after "See page
   number:," insert a page field by pressing CTRL+F9 and typing "page"
   (without the quotation marks). The line should appear as follows:

   "See page number:{page}"

   Note: Verify there is no space between the colon and page field.

3. Select the page field and update it by pressing F9.

4. If "1" does not appear in place of the {page} field, press SHIFT+F9

   to toggle the field results.

5. From the Edit menu, choose Replace.

6. If you are using Word for Windows version 1.x, type ":1" (without

   the quotation marks) in the Search For box. Choose the OK button.

   If you are using Word for Windows version 2.0, type ":1" (without the
   quotation marks) in the Find What box. Choose the Find Next button.

7. The search text is not found, even though it appears on the screen.

KBCategory: kbusage KBSubcategory: kbfield Additional query words: 1.x 2.0 2.0a 2.0a-CD word6 winword 6.0a 6.0c 7.0 word95 winword 2.0b 2.0c 6.0 6.0a 6.0c winword2

Keywords          : kbfield 
Version           : 1.x 2.x 6.0 6.0a 6.0c 7.0
Platform          : WINDOWS

Last Reviewed: February 6, 1998