Sorry, Word's "field language" just can't do that sort of thing, unless this
is the only difference between the two versions of the table, in which case
you might be able to use this kind of thing:
{ IF { MERGEFIELD CodeRel } = 0 "put the entire table without the special
markup here" "put the entire table with the special markup here" }
Otherwise, what you really need to do in this case is to use VBA and Word's
MailMerge events to modify the mail merge main document to have the correct
formatting before each record is merged.

Signature
Peter Jamieson
http://tips.pjmsn.me.uk
> Hi
>
[quoted text clipped - 11 lines]
>
> Thank you