How to Convert FoxPro 3.0 Tables to FoxPro 2.x Format

ID: Q129399

3.00 WINDOWS kbprg kbinterop kbtshoot kbprb

The information in this article applies to:

SUMMARY

Tables created in Visual FoxPro are not compatible with previous versions of FoxPro, and the current FoxPro Open Database Connectivity (ODBC) drivers only work with FoxPro 2.x tables.

To work around this, use Visual FoxPro's COPY TO command with the TYPE FOX2X clause to convert its tables to the FoxPro 2.x format.

MORE INFORMATION

Beginning with Visual FoxPro 3.0, the COPY TO command has a TYPE FOX2X clause. This clause is used in Visual FoxPro to convert Visual FoxPro tables to a format recognizable by previous versions of FoxPro. kbprg kbinterop kbtshoot kbprb

Example Workaround

1. Open an existing Visual FoxPro table

2. Issue the following command in the Command window:

      COPY TO <table name> TYPE FOX2X

Issues When Converting from 3.0 to 2.x

Additional reference words: 3.00 VFoxWin migrate .dbf KBCategory: kbprg kbinterop kbtshoot kbprb KBSubcategory: FxprgTable
Keywords          : FxprgTable 
Version           : 3.00
Platform          : WINDOWS

Last Reviewed: May 1, 1996