ASK or FILLIN Appears for Every RecordLast reviewed: February 5, 1998Article ID: Q115613 |
The information in this article applies to:
SYMPTOMSIn a mail merge where an ASK or FILLIN box should appear given certain conditions, the box appears for every record even when the merge conditions aren't met. For example, in the following field, the FILLIN box appears for every record, even when the Gender field is "M":
{IF {MERGEFIELD gender} = "F" "{FILLIN "Mrs. or Ms.?"}" "Mr."} CAUSEThis problem occurs because of the order in which fields update. The innermost fields are updated first. Thus, the FILLIN field is evaluated before the IF field.
RESOLUTIONCreate a glossary entry for each condition. Change the field to the following structure and create glossary entries that consist of the true condition text and the false condition text:
{GLOSSARY {IF {MERGEFIELD fieldname} = "test" "Glossary1" "Glossary2"}}For example, change the field to
{GLOSSARY {IF {MERGEFIELD gender} = "F" "Fill" "Mister"}}where "Fill" and "Mister" are names of glossary items. The Fill glossary item consists of "{FILLIN "Mrs. or Ms.?"}" (without the quotation marks) and Mister consists of the text "Mr." (without the quotation marks). To create the glossary entries:
|
Additional query words: 2.00 2.00a 2.00-CD 2.00b 2.00c winword2
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |