AnsweredAssumed Answered

Create Table (Data Management), unable to save to dataset

Question asked by magrugle on Jan 14, 2013
Latest reply on Jan 14, 2013 by mzcoyle
I'm trying to create a table in a dataset and get the error: Parameters are not valid. The code works when I write only to the the gdb. Are you not allowed to write to a dataset or am I doing something wrong?

ArcGIS 10.1

[PHP]import arcpy
import datetime

now =
exoticPlant = "Kudzu"
outPath = r"V:\chat_gis\gis_projects\Vegetation_Managment\Data\Derived_Data\Derived_Data.gdb\Report_01_14_2013"
exoticReportTemplate = "\MASTER_Data\VegetationManagment_Chatt.gdb\Exotic_Report_Template"
exoticReportName = exoticPlant + "_UnitCoverage_5years_" + now.strftime("%m%d%Y")

arcpy.CreateTable_management(outPath, exoticReportName, exoticReportTemplate)[/PHP]