AnsweredAssumed Answered

TableToTable_conversion syntax on select fields using python

Question asked by claudines on Mar 17, 2013
Latest reply on Mar 18, 2013 by claudines
I want to copy a geodatabase table (Test) to a dbf table (Test.dbf) but am struggling with the field mapping. I have about ten fields but only want to export the City and Zip fields into the new Test.dbf file. I can get it to write all the fields to the new dbf file but am struggling with exporting just two. Help seemed to indicate this was possible but provided no examples.

Here is what I have:

arcpy.TableToTable_conversion("Test","C:\\TestData","Test.dbf",,(["City"],["Zip"]))


What am I doing wrong????????

Outcomes