Keeping Fields and Text Together

Written by Allen Wyatt (last updated February 15, 2025)
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

Finding and Deleting Rows

Got a table that contains rows you want to delete? Deleting one or two rows in a table is easy; deleting a bunch of rows ...

Discover More

Using Alt to Switch Language Keyboards

There are scores of keyboard shortcuts built into both Windows and Word. If you run into a conflict between shortcut ...

Discover More

Understanding Master and Subdocuments

Most people use Word to create regular documents that you edit, view, and print. The program also allows you to create a ...

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)

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

Inserting the Total Number of Pages in Your Document

Word keeps track of many statistics for each of your documents. One statistic is the total number of pages in the printed ...

Discover More

Limiting Directories in the FILENAME Field

When you use the FILENAME field in a document, it can include the full path name that leads to your file. This might be ...

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 3 - 0?

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.