I am trying to use the "if then else" command in a mail merge. Howerver, I
want the command to be: if "field x" or "field y" is equal to "value" then
... or ...
is this possible and how would i go about it?
thanks
The following construction should do the trick - in the example the result
for either being true is ResultA if neither is true ResultB
{IF{Mergefield X} = "value" "ResultA" "{IF {Mergefield Y} = "value"
"ResultA" "ResultB"}"}
Each pair of field boundaries is set with CTRL+F9
The syntax used here is:
IF x = "value" ResultA
IF not then
IF y = "value" ResultA
Otherwise ResultB

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> I am trying to use the "if then else" command in a mail merge.
> Howerver, I want the command to be: if "field x" or "field y" is
> equal to "value" then ... or ...
>
> is this possible and how would i go about it?
> thanks