Hi =?Utf-8?B?VGVyZXNh?=,
Yes it has to do with how the date is displayed. Here is what I have so far
and below that is a sample of what is being returned. There will always be
a start and end date, but the number of members is not always consistant and
the data for each person is very inconsistant. So the mail merge has more
blank listings then current members so if any members get added they will
automatically be included when I mail merge and all of the headings and
spaces are part of the merge fields (MERGEFIELD WORK_FAX \b "Bus. fax: " )
so if someone doesn't have a Bus. fax then it won't say Bus. fax with a blank
after it.
This is a bit "breathless", but let's see if I've understood correctly? If the
Word_Fax mergefield is blank, you want to see nothing at all? but if it contains
an entry, the entire thing should appear?
In the Mail Merge toolbar there's a button "Insert Word field". In that list you
should find "If...Then...Else". click that, select the field, then as the
comparison "is not blank". Since the dialog box won't let you insert the
mergefield, just type some placeholder in the "True" result, and leave the
"False" result empty.
Back in the document, press Alt+F9 to display the field codes. Double-click the
placeholder text for the "True" result. Now insert the Mergefield. The result
should resemble:
{ IF "{Mergefield Work_Fax" } <> "" "{Mergefield Work_Fax}" }
(If the field codes disappear when you insert the merge field, Alt+F9 will turn
them on again. It will also turn them off when you're finished editing the field
codes.)
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail
