Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Auto DBF output help!

$
0
0
I'm not understanding how to use the script located here:
http://resources.arcgis.com/en/help/...0000001t000000

I've used other python scripts such as auto pdf output script with no problem. Here is how I'm attempting to use this:

Code:

import arcpy
from arcpy import env
 
env.workspace = "c:/Test"
 
inTables = ["AJD_rate"]
outLocation = "c:/Test"


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

The table I want to output to DBF is inside a .mxd file, but this script doesn't seem to require an input file, only a directory. The table name is "AJD_rate". Where am I going wrong?

TIA

Viewing all articles
Browse latest Browse all 2485

Trending Articles