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 / August 2006

Tip: Looking for answers? Try searching our database.

How do I conditionally merge based on a data value?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
wayneb - 29 Aug 2006 23:50 GMT
I would like to create invoices and use mail merge to fill in items that have
not been paid.  If an item has been paid, there will be a specific value in
the field.

An example would be homeowners fee. If paid, the field will have 100.  If it
is not paid, I want to print a line requesting payment.

Thank you.
Doug Robbins - Word MVP - 30 Aug 2006 04:33 GMT
Use an If...then...Else... field construction

{ IF { MERGEFIELD Fee } <> 100 "Please pay up" "" }

You must use Ctrl+F9 to insert each pair of field delimiters { } and Alt+F9
to hid their display.

I suspect that there might be more to what you are doing than just this and
that you are probably trying to perform a "multiple items per condition
(=key field)" mailmerge which Word does not really have the ability to do:

See the "Group Multiple items for a single condition" item on fellow MVP
Cindy Meister's website at:

http://homepage.swissonline.ch/cindymeister/mergfaq1.htm#DBPic

Or take a look at the following Knowledge Base Article:

http://support.microsoft.com/default.aspx?scid=kb;en-us;211303

http://www.knowhow.com/Guides/CompoundMerges/CompoundMerge.htm

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

>I would like to create invoices and use mail merge to fill in items that
>have
[quoted text clipped - 7 lines]
>
> Thank you.

Rate this thread:






 
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.