HOWTO: Using a FoxPro Database in a Word for Windows Print MergeLast reviewed: February 20, 1998Article ID: Q92966 |
The information in this article applies to:
Information from a Microsoft FoxPro database file can be converted for use in the print merge feature of Microsoft Word versions 1.x, 2.0, and 6.0 for Windows. NOTE: Memo fields convert as blank fields. If the data in the memo field is required for the print merge, you must write a program to convert the data. Only Word versions 1.x and 2.x for Windows require that memo fields be converted.
Word Version 1.xTo convert a FoxPro database for use with a print merge in Word version 1.x for Windows, issue the following commands in the FoxPro Command window:
USE <database> COPY TO <newfilename> TYPE DELIMITEDHere <database> is the name of the existing database and <newfilename> is the name of the intermediate format file. FoxPro automatically appends the .DBF extension to the filename.
Word Version 2.0To convert a FoxPro database for use with a print merge in Word version 2.0 for Windows, issue the following commands in the FoxPro Command window:
USE <database> COPY TO <newfilename> TYPE FOXPLUSwhere <database> is the name of the existing database and <newfilename> is the name of the intermediate format file. FoxPro automatically appends the .DBF extension to the filename.
Word Version 6.0In Word version 6.0, you can use ODBC to directly read in the FoxPro database. NOTE: See Q157767 for information on downloading the ODBC driver for Visual FoxPro.
REFERENCESFor additional information, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q157767 TITLE : PATCH: Vfpodbc5.exe Visual FoxPro ODBC Driver Version 5.0 Keywords : FoxDos FoxWin FxinteropOdbc vfoxwin Version : 1.0 1.01 1.02 2.0 2.5x 2.6x 3.0 Platform : MS-DOS WINDOWS Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |