I am doing a mailmerge out of an Access database. One of the fields is
True/False. When the value is True, I would like the mailmerge field to contain
three underlines with a capitol X in the middle. When the value is False, I
would like the mailmerge field to just contain three underlines. How do I setup
the merge field to do this?
Thanks!
Steve
Peter Jamieson - 30 Jul 2003 22:49 GMT
Use an { IF } field with e.g.
{ IF { MERGEFIELD myfield } = 0 "___" "_X_" }
The precise test you need depends on which method Word is using to connect
to Access.
If it's DDE (the default in Word 2000 and earlier), you probably need
{ IF "{ MERGEFIELD myfield }" = "True" "___" "_X_" }
All the curly braces {} need to be the special field braces you can enter
using ctrl-F9
--
Peter Jamieson
MS Word MVP
> I am doing a mailmerge out of an Access database. One of the fields is
> True/False. When the value is True, I would like the mailmerge field to contain
[quoted text clipped - 5 lines]
>
> Steve