Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / July 2003

Tip: Looking for answers? Try searching our database.

Merge Field With Underlines

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve - 30 Jul 2003 20:38 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.