Drivium

Auto DBF output help!

Discussion created by Drivium on Feb 20, 2014
Latest reply on Feb 20, 2014 by Drivium
I'm not understanding how to use the script located here:
http://resources.arcgis.com/en/help/main/10.1/index.html#//00120000001t000000

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

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

Outcomes