Your help is very much appreciated
Thanks So Much!
Suzy :)
Ideally, you would have a separate field to contain a flag (say "f" ) that
says "I want field x to be bold"
Then you can use
{ IF { MERGEFIELD f } = "Y" "{ MERGEFIELD x \*Charformat }" "{ MERGEFIELD
x }" }
You then have to select the { MERGEFIELD x \Charformat } field and apply
bold formatting to it.
If you try to have this flag as part of your data, so that field x contains
e.g. "use normal formatting" or "@use bold formatting", the problem is that
there is no way to remove the "* from the field before printing it. If you
/want/ to print the "@", you can test the flag as long as it is either at
the beginning or end of the field, using wildcards. "*" is one of the
wildcards so I don't think you could use it, so I have used "@" instead.
e.g.
{ IF { MERGEFIELD x } = "@*" "bold text" "not bold text" }
If your "*" or "@" flag should cause the text to be substantially different,
you may be better off putting the variant texts into different Word
documents and using an INCLUDETEXT field to include one text or the other
based on the result of an IF field.
If you just want formatted text to get through to your document /and/ you
have control over the format/origin of the data, then you simply use a Word
table as the data source and just use
{ x }
instead of
{ MERGEFIELD x }
to merge the data complete with formatting.
--
Peter Jamieson
MS Word MVP
"Suzy J. Lopez" <suzy....@viainfo.net> wrote in message
news:OWYQ2A$pAHA.1492@tkmsftngp03...
Thanks
Suzy
Peter Jamieson <p...@pjjnet.demon.co.uk> wrote in message
news:#OTiw2GqAHA.956@tkmsftngp03...