arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid. ERROR 000530: Value is required
# Import arcpy module import arcpy # Local variables: tst_dbf = "C:\\Users\\roth\\Desktop\\MIP_Training\\Outputs\\tst.dbf" tst_View = "tst_View" # Process: Make Table View arcpy.MakeTableView_management(tst_dbf, tst_View, "", "", "OID OID VISIBLE NONE;BKGPIDFP00 BKGPIDFP00 VISIBLE NONE;FREQUENCY FREQUENCY VISIBLE NONE;SUM_area_z SUM_area_z VISIBLE NONE") # Process: Add Attribute Index arcpy.AddIndex_management(tst_View, "BKGPIDFP00", "#", "NON_UNIQUE", "NON_ASCENDING")
Just to add my two cents. This discussion was helpful. At first glance the help document for the AddIndex_management makes it looks like it's optional when as mentioned above it is required of Geodatabases.