Table to dBASE (Conversion)

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

ArcView: Yes
ArcEditor: Yes
ArcInfo: Yes

11/14/2011