The information in this article applies to:
SUMMARYThis article describes how to define a conditional MERGEFIELD for a result that includes quotation marks. Normally, a conditional {IF} field takes the following syntax:
Note that quotation marks are used to denote the parameters of the
conditional statements, and are not included in the printed result of the
merge. If you want to include quotation marks in your result, you must
include a backslash (\) before each quotation mark that you want to
include.
For example, if you want to print Now is the time..., (with the quotation marks) in your document when the true condition is met, you must place a backslash before each quotation mark. The conditional statement should look similar to the following:
MORE INFORMATION
The comma also has a special use inside the {IF} field. Therefore, use
the backslash before a comma as well as before the quotation mark.
For additional information about this issue, please see the following
article in the Microsoft Knowledge Base:
Q134998 WD: Certain Characters Do Not Display in Field Result Additional query words: quote mail merge else then print mark comma condition
Keywords : kbfield kbmerge ntword word6 word7 word95 macword6 |
Last Reviewed: January 3, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |