ToggleFieldDisplay

Syntax

ToggleFieldDisplay

Remarks

Toggles the display of the fields in the selection between field codes and field results. If the selection does not contain at least one field, an error occurs. The exception to this rule is in page layout view, where ToggleFieldDisplay toggles the display of all fields.

Example

This example uses the ViewFieldCodes statement to change the display of all fields to field results, and then changes the display of fields in the current paragraph (selected using the predefined bookmark " \ Para") back to field codes:


ViewFieldCodes 0
EditGoTo .Destination = "\Para"
ToggleFieldDisplay

See Also

ViewFieldCodes