Thread: [Solved] Mail merge question
View Single Post
 
Old 01-29-2013, 07:16 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,363
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

Hi Saikological,

With the code you're using, the country will always be output, because you have a field code to do so that precedes the corresponding IF test.

Analysing your field coding is made difficult by the fact you've simply posted a picture of it, rather than attaching a document containing it. That said, it appears your field code is unnecessarily complicated, with multiple tests of the same condition that could be combined. Some tests too, would appear to be superfluous, as the same results can be achieved using the mergefield /b or /f switch.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote