Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Cathy Allington Cathy Allington is offline
external usenet poster
 
Posts: 9
Default Delete field on conditional mail merge

Hi
Is there any way to exclude records in a mail merge, if a particular
field contains "x" string in a particular field?
TIA
Cathy Allington
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Delete field on conditional mail merge

You can either
a. try to create the data source you need (e.g. if you are filtering
an Access table, you could consider creating an Access query that does
the exclusion, or
b. try to use Edit-Recipients to apply a filter. How to do it depends
on the version of Word - In 2007 click the Filter option. In Word
2002/2003, click the dropdown at the top of one of the data columns in
the dialog box, the used Advanced... or
c. insert a SKIPIF field like this

{ SKIPIF { MERGEFIELD myfield } = "x" }

where all the {} are the special field code braces you can insert using
ctrl-F9.

The problem with SKIPIF is that it actually cancels merging for that
copy of the mail merge main document - if for example you are trying to
merge labels, you can't use it without further effort.

Peter Jamieson

http://tips.pjmsn.me.uk
Visit Londinium at http://www.ralphwatson.tv

Cathy Allington wrote:
Hi
Is there any way to exclude records in a mail merge, if a particular
field contains "x" string in a particular field?
TIA
Cathy Allington

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mail merge conditional field selection emsfan20 Mailmerge 1 July 1st 08 07:00 AM
In Word 2003 when mail merge how do I delete an empty field? connie Mailmerge 3 July 23rd 07 05:25 PM
Conditional Currency/Text Field Format in Merge Suzamo Mailmerge 3 March 14th 07 11:06 AM
Mail Merge from Excel - conditional field choice? Gordon Smith \(eMVP\) Mailmerge 1 December 13th 05 05:18 AM
how do i delete "time" from date/time merge field in mail merge? 3kmom Mailmerge 1 April 7th 05 07:50 AM


All times are GMT +1. The time now is 06:34 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"