Microsoft KB Archive/74972

= WinWord: Paragraph Return Inserted Between Separate Indexes =

Article ID: 74972

Article Last Modified on 11/16/2006

-

APPLIES TO


 * Microsoft Word 1.0 Standard Edition
 * Microsoft Word 1.1 Standard Edition
 * Microsoft Word 1.1 Standard Edition
 * Microsoft Word 2.0 Standard Edition
 * Microsoft Word 2.0a
 * Microsoft Office Word 2003
 * Microsoft Word 2.0c
 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 6.0a
 * Microsoft Word 6.0c
 * Microsoft Word 95 Standard Edition
 * Microsoft Word 95a
 * Microsoft Word 97 Standard Edition

-



This article was previously published under Q74972



SUMMARY
In Microsoft Word for Windows, if you compile an index in several parts (such as an index including a range of letters), Word inserts a paragraph return between each of the separate parts. This occurs whether or not you separate each of the index fields with a paragraph return. Removing this paragraph mark deletes the entire index reference.



MORE INFORMATION
The &quot;Microsoft Word for Windows User's Guide&quot; recommends breaking up an index that includes more than 4,000 entries into several parts. This allows the updating of each part to be done one field at a time and the computer's memory to be reused to update the next field. For example, a complete index can be compiled from the following inserted fields:

{index \p a-f}

{index \p g-r}

{index \p s-z}

Note: To insert the field braces, press CTRL+F9.

These fields compile an entire index, with paragraph returns automatically inserted between the result of each separate index field. In the above example, a paragraph return is inserted between the f and g entries of the index and between the r and s entries of the index.

Note: Even if the fields are entered in the same paragraph (no paragraph returns between fields), the index is still compiled with paragraph returns between the individual parts.

Steps to Reproduce Problem
 From the File menu, choose Open, and choose the OK button. Type the following lines of text:

a index

c index

x index

z index

 Select each line of text individually WITHOUT the corresponding paragraph mark. From the Insert menu, select Index Entry. Accept the defaults in the dialog box, and choose the OK button. From the Insert menu, choose Break, accept the default options, and choose the OK button. Press CTRL+F9 to generate a pair of field code braces. Within the braces, type the INDEX field command, followed by the \p switch, followed by the range selection. It should appear as follows:

{INDEX \p A-D}

 Repeat the actions in step 6 to set up another index range for the remaining index entries. The result should appear as follows:

{INDEX \p A-D}{INDEX \p E-Z}

 Select these field codes, and press F9 to update them.</li> The result is a paragraph mark followed by the first index range and a second paragraph mark followed by the second index range. This occurs even though there are no paragraph marks involved with the index range entries.</li></ol>

Attempting to select either of these paragraph marks for deletion fails. The paragraph marks are permanently associated with the index range entries. You can work around this problem by manually inserting the paragraph marks prior to updating the index range entries. If an initial separation exists, the index range entry does not generate the permanently associated paragraph marks. This should appear as follows:

[ENTER]

{INDEX \p A-D} [ENTER]

{INDEX \p E-Z}

where [ENTER] refers to pressing the ENTER key prior to each index field entry.

The results are exactly the same as described in step 9 above; however, you can delete the paragraph marks to make the index range entries contiguous. Be aware that updating again generates a new set of index references that include the permanent paragraph marks.

Reference(s):

&quot;Microsoft Word for Windows User's Guide,&quot; pages 567-569

&quot;Microsoft Word for Windows User's Reference,&quot; pages 165, 182

Additional query words: 2.0 brackets word6 winword 7.0 word95 6.0 winword2 word7 word97

Keywords: kbfield KB74972

-

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

© Microsoft Corporation. All rights reserved.