View Single Post
  #9   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Nick
 
Posts: n/a
Default Skip Record if Comparison of Several Fields Fails

Peter -

In the solution below:

{ SKIPIF
{ =
{ IF { MERGEFIELD target } = { MERGEFIELD choice_1 } "1" "0" }
+{ IF { MERGEFIELD target } = { MERGEFIELD choice_2 } "1" "0" }
+{ IF { MERGEFIELD target } = { MERGEFIELD choice_3 } "1" "0" }
*{ IF { MERGEFIELD rating_1 } = { MERGEFIELD rating_2 }
"{ IF { MERGEFIELD rating_2 } = { MERGEFIELD rating_3 } "0" "1" }"
"1" }

there are some operators (+ and *). Can you tell me about other
available operators? Is there an "or" operator?

Nick King