View Single Post
 
Old 11-23-2019, 05:06 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Try something based on:
{IF{MERGEFIELD City}= "Quebec" {IF{MERGEFIELD Receipt_Number}= "" "Output for Quebec without Receipt_Number" "Output for Quebec with Receipt_Number"} {IF{MERGEFIELD Receipt_Number}= "" "Output for Not Quebec without Receipt_Number" "Output for Not Quebec with Receipt_Number"}}
or:
{IF«City»= "Quebec" {IF«Receipt_Number»= "" "Output for Quebec without Receipt_Number" "Output for Quebec with Receipt_Number"} {IF«Receipt_Number»= "" "Output for Not Quebec without Receipt_Number" "Output for Not Quebec with Receipt_Number"}}

Do note that, if the Receipt_Number mergefield generates numeric output, you'll need to change the "" expressions to "0" or 0.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote