The usual schematic for missing fields is
{ MERGEFIELD ClientAdd1 }{ IF { MERGEFIELD ClientAdd2 } = "
{ MERGEFIELD ClientAdd2 }" }{ IF { MERGEFIELD ClientAdd3 } = "
{ MERGEFIELD ClientAdd3 }" }{ IF { MERGEFIELD ClientAdd4 } = "
{ MERGEFIELD ClientAdd4 }" }{ IF { MERGEFIELD ClientAdd5 } = "
{ MERGEFIELD ClientAdd5 }" }
{ MERGEFIELD ClientPostCode }
or for your alternative address
{ MERGEFIELD CustomerAdd1 }{ IF { MERGEFIELD CustomerAdd2 } = "
{ MERGEFIELD CustomerAdd2 }" }{ IF { MERGEFIELD CustomerAdd3 } = "
{ MERGEFIELD CustomerAdd3 }" }{ IF { MERGEFIELD CustomerAdd4 } = "
{ MERGEFIELD CustomerAdd4 }" }{ IF { MERGEFIELD CustomerAdd5 } = "
{ MERGEFIELD CustomerAdd5 }" }
{ MERGEFIELD CustomerPostCode }
Thus { IF { MERGEFIELD AddFlag } = 0 "Client address" "Customer Address"
i.e.
{ IF { MERGEFIELD AddFlag } = 0 "{ MERGEFIELD ClientAdd1 }{ IF {
MERGEFIELD ClientAdd2 } = "
{ MERGEFIELD ClientAdd2 }" }{ IF { MERGEFIELD ClientAdd3 } = "
{ MERGEFIELD ClientAdd3 }" }{ IF { MERGEFIELD ClientAdd4 } = "
{ MERGEFIELD ClientAdd4 }" }{ IF { MERGEFIELD ClientAdd5 } = "
{ MERGEFIELD ClientAdd5 }" }
{ MERGEFIELD ClientPostCode }" "{ MERGEFIELD CustomerAdd1 }{ IF {
MERGEFIELD CustomerAdd2 } = "
{ MERGEFIELD CustomerAdd2 }" }{ IF { MERGEFIELD CustomerAdd3 } = "
{ MERGEFIELD CustomerAdd3 }" }{ IF { MERGEFIELD CustomerAdd4 } = "
{ MERGEFIELD CustomerAdd4 }" }{ IF { MERGEFIELD CustomerAdd5 } = "
{ MERGEFIELD CustomerAdd5 }" }
{ MERGEFIELD CustomerPostCode }" }

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Hi All
>
[quoted text clipped - 32 lines]
> data while maintaining the Flag to check for where the letter should
> be sent to?
Wobbs - 25 Feb 2008 16:03 GMT
Thanks for the quick response - I really appreciate it.
I give it a go and let you know how I get on - I'm not that familiar with
merge field data so this has been a bit of a struggle trying to figure it out.
Thanks again.
> The usual schematic for missing fields is
>
[quoted text clipped - 68 lines]
> > data while maintaining the Flag to check for where the letter should
> > be sent to?