Field codes: RD (Referenced Document) field

The RD (Referenced Document) field 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".

Syntax

When you view the RD field in your document, the syntax looks like this:

{ RD "FileName"}

 Note    A field code tells the field what to show. Field results are what’s shown in the document after having evaluated the field code. To toggle between viewing the field code and the field code results, press Alt+F9.

Instructions

"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"

Switches

\f

Indicates that the path is relative to the current document.

Example

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 }

 
 
Applies to:
Word 2013, Word 2010, Word 2007, Word 2003