Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Rich
 
Posts: n/a
Default Imbedded MERGEFIELD in IF/ELSE/THEN field

Via MS-Word 2000, I'm trying to create a mail-merge address label template
which will print the country name for a non-USA address, or will print the
Postnet Barcode for the ZipCode for a USA address.

I've attempted to create an IF/ELSE/THEN field as follows:

{ IF {MERGEFIELD country } = "USA" "{ BARCODE { MERGEFIELD zipcode} \U }" "{
MERGEFIELD country }"}

When I merge the data, it performs the IF test properly, and also properly
prints the country name for the non-USA entries. However, I can't seem to
get the USA portion of the IF test to work properly -- rather than printing
the barcode for the associated zipcode, it just leaves it blank.

Is this sort of nesting/imbedding not capable?


 
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
How do I do a conditional mail merge into a table tomtraff Mailmerge 5 March 29th 05 05:29 PM
Enter data in 1 text form field & have multiple locations fill Lee Microsoft Word Help 1 March 16th 05 10:56 PM
Math In Merge Field(s) Kenny G Mailmerge 3 March 7th 05 06:57 PM
Zip code merging when 5 AND 9 digits Spring Velazquez, Widener University Mailmerge 13 January 21st 05 01:54 AM
Text Form Field Ref in Footer Won't Update on Screen StarWine Microsoft Word Help 3 December 6th 04 06:17 PM


All times are GMT +1. The time now is 05:20 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"