Microsoft KB Archive/77681

{|
 * width="100%"|

Field Braces Not Ignored During Search in Word for Windows

 * }

Q77681

-

The information in this article applies to:


 * Microsoft Word for Windows, versions 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
 * Microsoft Word for Windows, version 7.0

-

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 &quot;^p&quot;, the matching text is not found.

Steps to Reproduce Problem
 In a Word for Windows document, type See page number:.  With the insertion point positioned directly after &quot;See page number:,&quot; insert a page field by pressing CTRL+F9 and typing page. The line should appear as follows: "See page number:{page}" Note: Verify there is no space between the colon and page field.  Select the page field and update it by pressing F9. If &quot;1&quot; does not appear in place of the {page} field, press SHIFT+F9 to toggle the field results. From the Edit menu, choose Replace. If you are using Word for Windows version 1.x, type :1 in the Search For box. Choose the OK button.

If you are using Word for Windows version 2.0, type :1 in the Find What box. Choose the Find Next button. The search text is not found, even though it appears on the screen.

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 winword2

Keywords : kbfield

Issue type :

Technology :