PRB: "Wrong Version of Word Is Running. Mail Merge Cancelled"

ID: Q113804

The information in this article applies to:

SYMPTOMS

FoxPro version 2.6 contains a Mail Merge Wizard that allows data to be output in a variety of formats. If Microsoft Word version 6.0 for Windows is running, is first in the MS-DOS search path, or is the only version of Word available and Microsoft Word version 2.0 for Windows is chosen as the output format, the mail merge will be cancelled with the following error message:

   The wrong version of Microsoft Word is running. Mail Merge cancelled.

The error will also occur if Microsoft Word version 2.0 is running, is first in the MS-DOS search path, or is the only version available and Microsoft Word version 6.0 is chosen as the output format.

NOTE: This error will also occur if the file sent to Word is empty.

RESOLUTION

To avoid this problem, do one of the following:

MORE INFORMATION

The Mail Merge Wizard initiates a DDE session with Word and verifies which version of Word is running.

The mail merge function was enhanced significantly in Word version 6.0 to allow use of the Windows ODBC drivers. The ODBC drivers allow Word to directly access data from a FoxPro table and allow access to memo field data. Word version 2.0, however, requires that the data be copied to an ASCII-delimited file prior to the merge and does not allow the use of memo field data.

Steps to Reproduce Behavior

1. Start Word version 6.0 for Windows.

2. Start the FoxPro Mail Merge Wizard.

3. Select any data table.

4. Select Word version 2.0 for Windows as the word processor.

5. Choose Finish to skip to step 5, and then choose Finish again.

The error should now occur.

Additional reference words: FoxWin 2.60 6.00 2.00 print errmsg err msg KBCategory: kbinterop kbtool kbprg kbprint kbprb KBSubcategory: FxinteropOdbc

Last Reviewed: June 26, 1995