WD6X: Using MacWord Main Document Causes "Unknown op code" Error |
Q113979
After you open a Word 5.x for the Macintosh mail merge main document in Word for Windows, you may receive the following error message:
To see the message, click Options on the Tools menu, select the View tab, and click to clear the Field Codes check box.Error! Unknown op code for conditional.
The error occurs because there are no spaces around the operator in a conditional IF field. The following example produces this error. In the example, the operator is the less than (<) symbol.
{IF {MERGEFIELD ZIP}<22222 "Zip is less than 22222" "{MERGEFIELD zip}"}
Put spaces around the operator. The following example corrects this error. In the following example, the operator is the less than (<) symbol.
{IF {MERGEFIELD ZIP} < 22222 "Zip is less than 22222" "{MERGEFIELD zip}"}
Microsoft has confirmed this to be a problem in Word for Windows versions 6.0, 6.0a, and 6.0c. This problem was corrected in Word for Windows 95, version 7.0. This issue does not occur in Word 6.0 and later for the Macintosh.
If an "Error! Unknown op code for conditional" message is displayed in the main document and the main document is merged, the error message
is displayed for each record in the data document as it is merged. Click OK to continue merging the contents of the data file. Data from the data document is correctly merged into each main document mergefield except for the conditional field. For each data record, the result of the conditional field is "Error! Unknown op code for conditional.""A field calculation error occurred in Record X"
Additional query words: .cnv conv w4wmerge 5.0 5.1
Keywords : kberrmsg kbinterop kbfield kbmerge macword word6 wordconvert
Issue type : kbbug
Technology : kbWordSearch kbWordWSearch
|
Last Reviewed: November 4, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |