All systems

FoxPro / Visual FoxPro

Visual FoxPro / DBF files
Supported

How to Prepare Your Files

  1. Gather all your .dbf table files
  2. Include associated memo files (.fpt for Visual FoxPro, .dbt for FoxPro 2.x)
  3. Include index files (.cdx, .idx) if available (optional)
  4. Create a ZIP archive containing all files
  5. Upload the ZIP archive below
Guide

FoxPro and Visual FoxPro are powerful database management systems and programming languages developed by Microsoft. Visual FoxPro was widely used for rapid application development from the early 1990s through 2007.

What You Can Upload

  • .DBF table files
  • .FPT memo files
  • .DBC database container files (for relationships)
  • .DCT database container memo files
  • .DCX database container index
  • ZIP archive with complete file sets

What You Get Out

DataMeans extracts your data into multiple modern formats:

OutputDescription
csv/{TableName}.csvOne CSV file per table with all row data
xlsx/{TableName}.xlsxExcel workbook per table
xls/{TableName}.xlsLegacy Excel format per table
json/{TableName}.jsonJSON array of records per table
json/{TableName}.jsonlNewline-delimited JSON (streaming-friendly)
postgres.sqlPostgreSQL CREATE TABLE + INSERT statements
schema/schema-graph.jsonRelationship graph for visualization
schema/er-model.jsonER model for diagram tools
report.jsonStructured extraction report
report.mdHuman-readable extraction summary

How to Export / Obtain Files

  1. Locate your FoxPro application's data directory
  2. Copy all .DBF table files
  3. Include associated .FPT memo files
  4. Include .DBC database container with its .DCT and .DCX files (for relationships and long field names)
  5. Create a ZIP with all files
  6. Upload the ZIP to DataMeans

Supported Features

  • Visual FoxPro 3.0 through 9.0
  • FoxPro 2.x for DOS/Windows
  • All VFP extended field types: Integer, Currency, DateTime, Varchar, Double, AutoIncrement
  • Memo field support (text, binary, OLE content)
  • Database container relationship mapping
  • Long field name extraction from DBC
  • NULL value detection
  • Character encoding detection (CP1252, CP437)

Known Limitations

  • Index files (.CDX, .IDX) not preserved (data fully extracted)
  • OLE objects in General fields exported as Base64
  • Complex DBC stored procedures may not be fully parsed

Last updated: January 2026

Technical reference

Overview

FoxPro is a data-centric, object-oriented programming language and database management system, originally developed by Fox Software and later acquired by Microsoft. It uses extended DBF file formats with additional structures for complex database applications. Visual FoxPro (VFP) represented the pinnacle of xBase evolution, offering both procedural and object-oriented programming with rich database capabilities before Microsoft announced its discontinuation in 2007.

History and Background

  • 1984: FoxBASE released by Fox Software, a dBase II work-alike.
  • 1986: FoxBASE+ released, compatible with dBase III Plus.
  • 1989: FoxPro 1.0 released with a new interface and a superset of the dBase IV language.
  • 1991: FoxPro 2.0 introduces Rushmore query optimization and integrated SQL support.
  • 1992: Microsoft acquires Fox Software in a stock swap valued at approximately $173 million.
  • 1993: FoxPro 2.5 released; the first version for Windows.
  • 1995: Visual FoxPro 3.0 introduces object-oriented programming, a visual development environment, and the database container.
  • 1996: Visual FoxPro 5.0 adds ActiveX support and COM component creation.
  • 1998: Visual FoxPro 6.0 ships alongside Visual Studio 6.0, adding ActiveX Document support and Year 2000 compliance features.
  • 2001: Visual FoxPro 7.0 adds IntelliSense, XML functions, and web services support.
  • 2003: Visual FoxPro 8.0 adds the CursorAdapter class and autoincrementing fields.
  • 2004: Visual FoxPro 9.0 adds Varchar, Varbinary, and Blob field types and the ReportListener report engine class.
  • 2007: Microsoft announces there will be no version 10; Visual FoxPro 9.0 SP2 is the final release.

File Format Specifications

FoxPro uses the dBase-derived DBF table format, extended with additional field types and companion files.

DBF (DataBase File) Format:

  • xBase-family table format with FoxPro-specific field types
  • Header file type byte identifies the format level (0x30 Visual FoxPro; 0xF5 FoxPro 2.x with memo)
  • File extension: .dbf
  • Maximum fields: 255
  • Maximum record size: 65,500 bytes
  • File size limit: 2 GB

Memo Files:

  • .fpt: FoxPro memo file format (replaces dBase .dbt)
  • Stores variable-length text and binary data
  • Block-structured; a 512-byte header records the block size and next free block
  • Referenced by 4-byte block numbers in Visual FoxPro DBF records

Index Files:

  • .cdx: Compound index file (multiple index tags per file), supported since FoxPro 2.0
  • .idx: Single index file
  • B-tree structure for fast lookups
  • Support for Rushmore query optimization

Database Container:

  • .dbc: Database container file
  • Stores table membership, persistent relationships, connections, and views
  • Contains stored procedures and database properties
  • Stored as a Visual FoxPro table with companion .dct memo and .dcx index files

Data Types and Structures

Type CodeTypeSizeDescription
CCharacter1-254 bytesFixed-length text strings
VVarcharVariableVariable-length text (VFP 9+)
NNumeric1-20 bytesNumbers with decimal precision, stored as text
FFloat1-20 bytesSame as Numeric; kept for compatibility
IInteger4 bytes32-bit signed integers
BDouble8 bytesDouble-precision floating point
YCurrency8 bytesCurrency values
DDate8 bytesDates in YYYYMMDD format
TDateTime8 bytesDate and time combined
LLogical1 byteBoolean (T/F/Y/N)
MMemo4 bytesPointer to memo file
GGeneral4 bytesOLE objects
WBlob4 bytesBinary large objects (VFP 9+)
QVarBinaryVariableVariable binary data (VFP 9+)

Database Structure:

  • Free tables: Standalone DBF files
  • Database tables: Part of DBC container with relationships
  • Long table and field names (up to 128 characters) for tables in a database
  • Referential integrity and triggers
  • Views and stored procedures
  • Multi-table transactions

Version Differences

VersionYearKey ChangesFile Format Level
FoxPro 2.01991Rushmore, SQL supportFoxPro 2.x DBF (0xF5 with memo); adds .cdx indexes
FoxPro 2.51993First Windows versionFoxPro 2.x DBF; no format change
Visual FoxPro 3.01995OOP, visual developmentNew DBF file type 0x30; adds .dbc/.dct/.dcx
Visual FoxPro 5.01996ActiveX, COM componentsNo format change
Visual FoxPro 6.01998ActiveX Documents, MTS supportNo format change
Visual FoxPro 7.02001IntelliSense, XML, web servicesNo format change
Visual FoxPro 8.02003CursorAdapter, autoincrementAutoincrement file type 0x31
Visual FoxPro 9.02004Varchar/Varbinary/Blob, ReportListenerVarchar/Varbinary/Blob file type 0x32

Compatibility Notes:

  • Visual FoxPro reads FoxPro 2.x tables and leaves their headers unchanged unless new field types, null support, or database membership are added
  • DBC containers introduced in VFP 3.0
  • Tables belonging to a database store a backlink path to the .dbc file in the table header
  • Many modern tools read VFP DBF files

Technical References


To learn how to use this format with DataMeans, see the User Guide.