Merge Field With Underlines

S

Steve

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
 
P

Peter Jamieson

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top