WD2000: Cannot Insert Nested Formula with Insert Field Command (211644)
The information in this article applies to:
This article was previously published under Q211644 SYMPTOMS
When you attempt to create a field containing nested instructions or multiple switches, the field is not inserted correctly.
For example, if you attempt to create a field similar to the following by adding multiple switches to the EQ field in the Field Options dialog box
Word inserts the field incorrectly, like this:
CAUSE
The Field dialog box does not allow recursion or the nesting of multiple instructions or switches. However, you can add additional instructions or switches manually.
WORKAROUND
To work around this behavior, use one of the following methods:
Method 1: Create a Nested Field
For example, to create a nested field similar to
follow these steps:
- On the Insert menu, click Field.
- In the Categories list, click Equations and Formulas. In the Field Names list, click to select EQ.
- Click Options.
- In the Switches list in the Field Options dialog box, select \F(,) and then click Add to Field.
- Click OK to close the Field Options dialog box.
- Click OK to close the Field dialog box.
Your inserted field should look similar to the following:NOTE: If you do not see the field, press ALT+F9 to turn on the field codes in your document.
- Move the insertion point to the left of the comma inside the parentheses.
- On the Insert menu, click Field.
- In the Categories list, click Equations and Formulas. In the Field Names list, click to select EQ.
- Click Options.
- In the Switches list in the Field Options dialog box, select \R(,) and then click Add to Field.
- Click OK to close the Field Options dialog box.
- Click OK to close the Field dialog box.
Your inserted field should now look similar to the following:
Method 2: Use Equation Editor- On the Insert menu, click Object.
- Click Create New.
- In the Object Type list, select Microsoft Equation 3.0 and click OK.
- On the Equation toolbar, click the Fraction and Radical Templates button.
- Enter the information you want to use in your formula.
- When finished, click Exit and Return to <filename> to close Equation Editor. If you see a field code that is similar to the following, press ALT+F9 to turn off the field codes in your document.
Modification Type: | Major | Last Reviewed: | 12/6/2000 |
---|
Keywords: | kbfield kbprb KB211644 |
---|
|