Table to dBASE (Conversion)

License Level:BasicStandardAdvanced

Summary

Converts one or more tables to dBASE tables in an output folder.

Usage

Syntax

TableToDBASE_conversion (input_table, output_folder)
ParameterExplanationData Type
input_table
[input_table,...]

The list of tables to be converted to dBASE.

Table View
output_folder

The destination folder where the output dBASE table(s) will be placed.

Folder

Code Sample

TableToDBASE Example (Python Window)

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

import arcpy
from arcpy import env
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
# Author: ESRI
 
# Import system modules
import arcpy
from arcpy import env
 
# Set environment settings
env.workspace = "C:/data"
 
# Set local variables
inTables = ["vegtype", "futrds"]
outLocation = "C:/output"

try: 
    # Execute TableToDBASE
    arcpy.TableToDBASE_conversion(inTables, outLocation)
except:
    print arcpy.GetMessages()

Environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: Yes
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
3/3/2014