
Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
Hi Doug, Thanks for you help, however after turning your message below into
the fields in word, I got an error, i think this is because there are
different amounts of Open brackets to closed brackets.
I have tried to make it work but i just get errors.
Any chance you could have a quick look at where the other brackets should be??
Thanks for you time and help - Sarah
> { IF { MERGEFIELD Tax } > 0 { IF { MERGEFIELD Ni } > 0 { IF { MERGEFIELD
> Pension } > 0 "{ MERGEFIELD Tax }, { MERGEFIELD Ni } and { MERGEFIELD
[quoted text clipped - 45 lines]
> >> >
> >> > Thanks for your help - sarah
Doug Robbins - Word MVP - 17 May 2007 19:50 GMT
I believe that there are a couple of missing closing }} at the end of what
I posted, so that the field construction should look like:
{ IF { MERGEFIELD Tax } > 0 { IF { MERGEFIELD Ni } > 0 { IF { MERGEFIELD
Pension } > 0 "{ MERGEFIELD Tax }, { MERGEFIELD Ni } and { MERGEFIELD
Pension }" "{ MERGEFIELD Tax } and { MERGEFIELD Ni }" }{ IF { MERGEFIELD
Pension } > 0 "{ MERGEFIELD Tax } and { MERGEFIELD Pension }" "{ MERGEFIELD
Tax }" }{ IF { MERGEFIELD Ni } > 0 { IF { MERGEFIELD Pension } > 0 "{
MERGEFIELD Ni } and { MERGEFIELD Pension }" "{ MERGEFIELD Ni }"} { IF {
MERGEFIELD Pension } > 0 "{ MERGEFIELD Pension }" "" }}}}
However, if you used Ctrl+F9 to insert the field delimiters, they will be
balanced as each time you use Ctrl+F9, a pair of field delimiters is
inserted.
Another thing however is that it is necessary to have a space either side of
each > operator.

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Hi Doug, Thanks for you help, however after turning your message below
> into
[quoted text clipped - 62 lines]
>> >> >
>> >> > Thanks for your help - sarah