ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Table To dBASE

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

Converts one or more tables to dBASE tables.

Usage

  • This tool supports the following table formats as input:

    • Geodatabase
    • dBASE (.dbf)
    • Comma-separated values (.csv or .txt)
    • Microsoft Excel worksheets (.xls or .xlsx)
    • INFO
    • VPF
    • OLE database
    • In-memory table views

    For file input (.csv or .txt), the first row of the input file is used as the field names on the output table. Field names cannot contain spaces or special characters (such as $ or *), and you will receive an error if the first row of the input file contains spaces or special characters.

    Learn more about table formats supported in ArcGIS

  • The name of the output dBASE tables will be based on the name of the input table. To control the output name and for additional conversion options, use the Table To Table tool.

  • The Copy Rows and Table To Table tools can also be used to convert a table to a dBASE file.

  • If the name of the output table already exists in the output folder, a number will be appended to the end of the name to make it unique (for example, OutputTbl_1.dbf).

Syntax

TableToDBASE(Input_Table, Output_Folder)
ParameterExplanationData Type
Input_Table
[table,...]

The list of tables to be converted to dBASE.

Table View
Output_Folder

The destination folder where the output dBASE tables will be placed.

Folder

Derived Output

NameExplanationData Type
Derived_Folder

The folder containing the new dBASE tables.

Folder

Code sample

TableToDBASE example 1 (Python window)

The following Python window script demonstrates how to use the TableToDBASE function in immediate mode.

import arcpy
arcpy.env.workspace = "C:/data/Habitat_Analysis.gdb"
arcpy.TableToDBASE_conversion(["vegtype", "futrds"], "C:/output")
TableToDBASE example 2 (stand-alone script)

The following stand-alone script demonstrates how to use the TableToDBASE function.

# Name: TableToDBASE_Example2.py
# Description: Use TableToDBASE to copy tables to dBASE format
 
# Import system modules
import arcpy
 
# Set environment settings
arcpy.env.workspace = "C:/data"
 
# Set local variables
inTables = ["vegtype", "futrds"]
outLocation = "C:/output"

# Execute TableToDBASE
arcpy.TableToDBASE_conversion(inTables, outLocation)

Environments

  • Current Workspace
  • Output CONFIG Keyword
  • Scratch Workspace
  • Extent
  • Qualified Field Names

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

Related topics

  • Feature Class To Shapefile
  • An overview of the To dBASE toolset

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2019 Esri. | Privacy | Legal