Field codes: Quote field

The Quote field inserts the specified text into a document.

Syntax

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

{ QUOTE "LiteralText" }

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

"LiteralText"

Inserted text, which must be enclosed in quotation marks. It can include any other fields except AutoNum, AutoNumLgl, AutoNumOut, or Symbol.

Example

The following Quote field, with nested If, = (Formula), and Date fields, produces the name of the previous month. For example, if the current month is February, "January" is the field result. This is useful for reports (such as sales reports) written after the fact.

{ QUOTE { IF { DATE \@ "M" } = 1 "12" "{= { DATE \@ "M" } -1 }/1/03" \@ "MMMM"} }

Was this information helpful?

How can we improve it?

How can we improve it?

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!