Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
PumaMan PumaMan is offline
external usenet poster
 
Posts: 2
Default SImple {IF} Problem

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!


  #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!



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Macro, Problem with Quick Parts Ross from Orlando New Users 2 September 23rd 08 02:17 AM
Word 2007 Simple (Or not so simple) List Numbering Greg Maxey Microsoft Word Help 2 October 20th 07 06:21 AM
Simple Index [email protected] Page Layout 3 September 27th 06 03:41 PM
Very simple, very aggrivating MS Word Problem! A quickie to solve! phil.hiett Microsoft Word Help 4 January 9th 06 06:16 AM
Problem using simple field Switch JohnB Mailmerge 4 June 15th 05 11:14 AM


All times are GMT +1. The time now is 05:53 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"