PRB: Cannot Use Visual FoxPro Table in Word 97 Mail Merge (185188)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft Word 97 for Windows
- Microsoft Data Access Components 2.5
This article was previously published under Q185188 SYMPTOMS
When you perform a mail merge in Microsoft Word 97 for Windows using a Visual FoxPro table contained in a database container, the following error message appears:
Word was unable to open the data source.
CAUSE
Word is unable to open Visual FoxPro for Windows tables contained in a database container.
RESOLUTION
Use one of the following three to perform a mail merge in Microsoft Word 97 for Windows using a Visual FoxPro table contained in a database container.
Method 1: Copy Native Visual FoxPro Table to a 2.x Format- In Visual FoxPro for Windows, open the table.
- Issue the following command in the Command Window or program:
COPY TO <newtablename> TYPE FOX2X
Method 2: Use MSQuery from Word- When using the Mail Merge Helper in Word, click MS Query in the Open Data Source dialog box.
- When MSQuery opens, select the Visual FoxPro ODBC dataset from the list in the Choose Data Source dialog box.
- Select the table, create the query, and then return to Word.
Method 3: Remove Table from Database Container- If the table is part of the database container DBC, open the DBC.
- Locate the table to be used in the merge, right-click the table and click Delete.
- A dialog box appears and prompts you to either remove the table from the DBC or delete the table from the disk. Click Remove to free the table from the DBC.
You can also issue the FREE TABLE command in the Command window. For example, open the DBC and free the table as follows:
MODIFY DATABASE testdata
FREE TABLE mymergetable
CLOSE DATABASES ALL
STATUS
This behavior is by design.
REFERENCES
For additional information, please see the following
article in the Microsoft Knowledge Base:
180120 WD97: Word Setup Does Not Install ODBC Drivers
Modification Type: | Minor | Last Reviewed: | 2/21/2005 |
---|
Keywords: | kbprb KB185188 |
---|
|