View Single Post
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default SImple {IF} Problem

Hi PumaMan,

Assuming you're using one or more space characters for the 'blank', you could code the IF test as:
{IF{REF Region}= " *" "Unknown" "Return Address {IF{REF Region}= "Canada" 2 1}"}

Note: The field brace pairs (ie '{ }') for the above example are created via Ctrl-F9 - you can't simply type them or copy & paste
them from this message. Pay careful attention to the spacing also.

--
Cheers
macropod
[MVP - Microsoft Word]


"PumaMan" wrote in message ...
I'm new to using the {IF} field withing word, and am having some problems
common to a rookie i'm sure.

I have 1 field which is a dropdown bookmarked as "Region" with the options
of Blank, United States, and Canada.

What I want is my IF field to display "Return Address 1" if "Region" =
"United States" or "Return Address 2" if "Region" = "Canada" and "Unknown" if
the user leaves "Region" blank.

Can someone help me out here please? Much appreciated!