Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
Field codes: RD (Referenced Document) field
 

Some of the content in this topic may not be applicable to some languages.

{ RD "FileName"}

Identifies a file to include when you create a table of contents, a table of authorities (table of authorities: A list of the references in a legal document, such as references to cases, statutes, and rules, along with the numbers of the pages the references appear on.), or an index (index: A list of the words and phrases that are discussed in a printed document, along with the page numbers they appear on.) with the TOC, TOA, or INDEX field. You must manually set starting page numbers and sequence values in files named in RD fields before updating the TOC, TOA, or INDEX field. The RD field doesn't display a result in the document. You cannot unlink an RD field.

The RD field is formatted as hidden text (hidden text: Character formatting that allows you to show or hide specified text. Microsoft Word indicates hidden text by underlining it with a dotted line.). To view this field, click Show/Hide Paragraph mark Button image.

Security  Because content that is formatted as hidden text can easily be made visible, do not use hidden text formatting to keep sensitive information private.

 Note   RD fields that reference a series of files must be in the same order as the files in the final document. For example, files Chap1 and Chap2 both have an index entry (index entry: A field code that marks specific text for inclusion in an index. When you mark text as an index entry, Microsoft Word inserts an XE (Index Entry) field formatted as hidden text.) for "apricot" on the first page. The first page number in Chap1 is 1, and the first page number in Chap2 is 100.

  • The sequence {RD Chap2} {RD Chap1} results in the index query "apricot 100, 1".

  • The sequence {RD Chap1} {RD Chap2} results in the index query "apricot 1, 100".

ShowInstructions

"FileName"

File to include when generating a table of contents, table of authorities, or index. If the location includes a long file name with spaces, enclose it in quotation marks. Replace single backslashes with double backslashes to specify the path (path: The route that the operating system uses to locate a folder or file; for example, C:\House finances\March.doc.), for example:

"C:\\My Documents\\Manual.doc"

ShowSwitches

\f

Indicates that the path is relative to the current document.

ShowExamples

The following fields inserted into one document create a table of contents that includes entries from the three referenced documents:

{ TOC }
{
RD C:\\Manual\\Chapters\\Chapter1.doc }
{
RD C:\\Manual\\Chapters\\Chapter2.doc }
{
RD C:\\Manual\\Chapters\\Chapter3.doc }

© 2009 Microsoft Corporation. All rights reserved.