Field codes: GoToButton field

Microsoft Office Word 2003

Destination DisplayText }

Inserts a jump command, which helps you view long online documents. When you double-click the results of a GOTOBUTTON field, Microsoft Word moves the insertion point to the specified location in the document. Hyperlinks, which are represented by the HYPERLINK field, are often a better alternative to the GOTOBUTTON field.

ShowInstructions

Destination
A bookmark, page number, or item such as a footnote or annotation. The page number can be a reference inserted using the Cross-reference command (Insert menu, Reference submenu).

Use a letter and number for items other than page numbers; for example, to jump to the third section in a document, type s3

Letter Description
s Section
l Line
f Footnote
a Annotation

Note  The number doesn't refer to the actual number of an item. For example, "f4" refers to the fourth footnote in the document, regardless of its reference mark number.

DisplayText
Text or a graphic to appear as the "button." You can use a field that results in text or a graphic, such as BOOKMARK or INCLUDEPICTURE. The text or graphic must appear on one line in the field result; otherwise, an error occurs.

ShowExamples

In the following example, in which "Summary" is defined as a bookmark, clicking here causes Word to jump to the summary.

Double-click { GOTOBUTTON Summary here } to jump to the summary.

This field and the text surrounding it produce this result:

Double-click here to jump to the summary.

In the following example, a PAGEREF field indicates a page number. To insert the PAGEREF field, click the Cross-reference command on the Reference submenu (Insert menu), and then select the item (such as a table or heading) that you want to jump to. (In the Cross-reference dialog box, make sure that you select Page Number in the Insert reference to box.) You must enclose the letter "p" and the PAGEREF field in quotation marks.

Double-click { GOTOBUTTON "p { PAGEREF _Ref317041789 }" Button image } to jump to the summary.

The field displays this result:

Double-click Button image to jump to the summary.