You cannot write a dbf to a gdb... you would have to create a gdb table.
I found what is the problem! Thanks for your help...It seems to have a problem when I triy to write the dbf table inside a gdb.I tested the script and when you write in the different location, everything works fine. If you try to write on a gdb - the same where the input feature class is - you get an error saying the table cannot be created...The probme is solved but I would like to know why this happens and of course I would like to write the table in the same gdb where the in put feature class is.Thanks for your help and....any ideas???
This seems to work: import arcpy InPoint = "\\\\hgis01\\gishome\\ladietz\\WCH.gdb\\MR\\MRPoint" out_dbf = "D:\\temp\\test.dbf" arcpy.Statistics_analysis(InPoint, out_dbf, "CATEGORY COUNT;OSE_ID NAME", "") R_
import arcpy InPoint = "\\\\hgis01\\gishome\\ladietz\\WCH.gdb\\MR\\MRPoint" out_dbf = "D:\\temp\\test.dbf" arcpy.Statistics_analysis(InPoint, out_dbf, "CATEGORY COUNT;OSE_ID NAME", "")
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.