srehbaum

Table to Table Function in Python

Discussion created by srehbaum on Apr 8, 2011
Latest reply on Apr 8, 2011 by srehbaum
I am going to run a weekly script that updates POIs for some Garmin units my group has.  My output is a .dbf that will be converted to .csv and then loaded.  My final operation of the model/script is Table to Table.  I need to have this .dbf overwritten each instance it is run.  My geoprocessing overwrite function is turned on and runs fine in ModelBuilder, but it will not overwrite the .dbf from the script and gives me the Error 000258 stating the table already exists.  I wasn't sure if I was missing something or there is some snippet of code which will allow the .dbf to be forcibly overwritten.  I know I could just write the first part of the model/script to delete the existing one before it runs again, but I was hoping not to do so.  Any help is greatly appreciated. 

arcpy.TableToTable_conversion

Outcomes