Hi =?Utf-8?B?UGV0ZSBCZW5uZXR0?=,
I don't think there's any way to do this as you envision; no way to "blank out"
unused merge fields. Two alternate approaches occur to me, right off hand:
1. Create both letters as AutoText entries. If the one data source is used,
insert that entry; if the other data source is used, the second entry. As each
autotext entry will contain the fields specific to the data source used, the
problem shouldn't occur.
2. Create both data sources with the same fields. Some of the fields will
always be empty (because they'll never be filled with data), but at least
they'll be present in the data source, so IF fields will work with them.
> I have a letter template (in Word 2000) that can optionally be used to
> create a merge master letter (simply by inserting AutoText containing merge
[quoted text clipped - 10 lines]
> want to avoid (if at all possible) any messages about "this merge field
> doesn't exist".
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 :-)