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

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.