Field codes: Quote field

Microsoft Office Word 2003

"LiteralText"

Inserted text, which must be enclosed in quotation marks. It can include any other fields except AUTONUM, AUTONUMLGL, AUTONUMOUT, or SYMBOL.

ShowExamples

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