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 / December 2004

Tip: Looking for answers? Try searching our database.

suppress invalid merge field word 2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike - 07 Dec 2004 17:17 GMT
My users had created several generic mail merge documents in Word 97, now we
have upgraded to Office 2003.  Remember, these are generic mail merge
documents - not every field is used for every merge

On 97, if there mail merge field was not used for this particular merge, the
document printed fine.  Now, on 2003, they receive an "invalid mail merge
field" error.  Yes, they can get past it and everything prints fine, but it  
is annoying.  

Any suggestions on how to suppress this message?

Thanks,
Mike
Cindy M  -WordMVP- - 08 Dec 2004 13:30 GMT
Hi =?Utf-8?B?TWlrZQ==?=,

> My users had created several generic mail merge documents in Word 97, now we
> have upgraded to Office 2003.  Remember, these are generic mail merge
[quoted text clipped - 6 lines]
>  
> Any suggestions on how to suppress this message?

When you say "not every merge field is used" what, more exactly, do you mean?

The fields are in the document and in the data source, but contain no data?

The fields are in the document, but not in the data source?

If the problem is the latter, then there's nothing you can do. The field is in
the merge document and Word will look for a corresponding field in the data
source. You'd have to make sure the data source contains all the fields, even
if the content is null (best is to pass an empty string).

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 :-)
Mike - 08 Dec 2004 21:03 GMT
Cindy,

Thank you for the response, see below.

> When you say "not every merge field is used" what, more exactly, do you mean?
>
> The fields are in the document and in the data source, but contain no data?

I believe this is the case - the fields are in the document and data source,
but they are null.

Thanks!
Cindy M  -WordMVP- - 09 Dec 2004 11:13 GMT
Hi =?Utf-8?B?TWlrZQ==?=,

> > When you say "not every merge field is used" what, more exactly, do you mean?
> >
> the fields are in the document and data source,
> but they are null.

What's the data source? Any chance you could pass an empty string "" rather than
null?

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 :-)
 
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.