Keeping Fields and Text Together

Written by Allen Wyatt (last updated April 4, 2022)
This tip applies to Word 97, 2000, 2002, and 2003


Fields are a great boon for developing interactive documents. One common use of fields is to create cross-references to other parts of a document. When inserting a cross-reference field, you may have some type of special identifying text that you need to always follow the field. To keep the field and the identifying text together, you separate the two by a non-breaking space.

Non-breaking spaces are used to control how Word automatically wraps text at the end of a line. The non-breaking space ensures that the text before the space and the text after the space are always on the same line. In the case of fields, however, this doesn't seem to work. Instead, Word blithely wraps text right at the non-breaking space.

This is frustrating, but it appears to be the way that older versions of Word are designed. For some reason, the field before the non-breaking space is not viewed as "text," so Word ignores the non-breaking space. The only way around this is to create your document as you normally would (with the cross-references), and then look through the document to find any instances where the cross-reference is on one line and the identifying text on the next. You can then insert a line break character just before the field so that it is forced to the next line.

The drawback to this, obviously, is that if you edit your document or if the cross-references change, you'll need to go through and remove the line breaks to make sure that the text wrapping still makes sense.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (7656) applies to Microsoft Word 97, 2000, 2002, and 2003.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Creating Categories for Your Table of Authorities

A table of authorities is normally divided into separate sections based on categories you define. Here's how to create ...

Discover More

Copying Formatting

Excel provides a couple of different ways to copy formatting from one cell to another. Perhaps the easiest way is to use ...

Discover More

Printing Document Properties

Word maintains quite a bit of information about a document in a special collection of items called "properties." You can ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (menu)

Standard Text before a Sequence Number

When you use fields to number items within a document, you may want to add some standard text before each field. There ...

Discover More

Controlling Field Shading

If you use fields in your documents, you may want to highlight them in some way so that you can find them easier. Word ...

Discover More

Inserting the Subject in Your Document

One of the properties you can specify for a document is a subject. You can then use a field code to insert this subject, ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is eight less than 8?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.