Thread: IF-construct?
View Single Post
  #5   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default IF-construct?

Your syntax is wrong - see Macropod's reply and notice especially the shape
of the brackets. The curly {}field boundary brackets are all inserted with
CTRL+F9.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Wolfgang Gary wrote:
thanks for your tipp, but its not working.

To check only one mergefield is working fine: {if {mergefield
PM_TEST_RESULT}="80" "OK" "not passed"}

But how to achieve logical ADD for two or more fields?
{if ({mergefield PM_TEST_RESULT}="80")*({mergefield
FALLSTUDIE_RESULT}="80") "OK" "not passed"} is not working.

Thanks for any tipp
best regards
Wolfgang