WD: Cannot Cancel "Invalid Merge Field" Error LoopLast reviewed: February 5, 1998Article ID: Q115247 |
The information in this article applies to:
SYMPTOMSThe following "Invalid Merge Field" error message appears when a mail merge is executed or checked for errors:
This merge field is used in the main document, but it does not exist in the data source.Choosing the Cancel button only cancels the error dialog box. There is no direct way to stop the merge or check in progress.
CAUSEThe mail merge main document contains a MERGEFIELD with a field name that does not match any of the field names in the data source header record. This error most often occurs when a new data source is attached to a main document and the spelling of a field name is changed. For example, if a mailing list with the field "FirstName" is replaced by a data source with the field name "Fname", the MERGEFIELD <<FirstName>> is no longer valid in the main document. This error can also occur when the original mail merge document has been converted from Word 2.x for Windows and uses a comma- or tab-delimited data source. For more information on how to correct the problems in this case, query on the following words in the Microsoft Knowledge Base:
delimiters and invalid and merge and fieldThe "Invalid Merge Field" error will appear once for each record in the data file if the incorrect field is not replaced or removed.
RESOLUTION
To interrupt the merge process, press the ESC key repeatedly while the error message is displayed. -or- Choose the Remove Field option to remove the incorrect field from the main document. -or- Choose the Replace Field option to replace the incorrect field with a field that does exist in the data file. |
KBCategory:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |