<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: AddIndex_management error: in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/addindex-management-error/m-p/317537#M11122</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;IMG alt="Capture.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/178321_Capture.JPG" style="width: 620px; height: 174px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Feb 2016 01:54:33 GMT</pubDate>
    <dc:creator>JoePlattner</dc:creator>
    <dc:date>2016-02-06T01:54:33Z</dc:date>
    <item>
      <title>AddIndex_management error:</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/addindex-management-error/m-p/317535#M11120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can anyone tell me why the following python exported directly from a Geoprocessing Model that works does not work? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The error message: &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000530: Value is required&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am replacing tst.dbf with a fresh copy before running it in python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nate&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;# 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")&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 15:38:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/addindex-management-error/m-p/317535#M11120</guid>
      <dc:creator>NathanielRoth</dc:creator>
      <dc:date>2011-03-18T15:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: AddIndex_management error:</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/addindex-management-error/m-p/317536#M11121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A long delay to the answer of this question, but for those who come here in the future to find an answer, the index needs to be named.&amp;nbsp; "An index name is necessary when adding an index to geodatabase feature classes and tables. For other data types, such as shapefiles and coverage feature classes, index names cannot be specified." IE, So replace '#' with 'MYINDEX' as an example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 02:45:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/addindex-management-error/m-p/317536#M11121</guid>
      <dc:creator>KentBurley</dc:creator>
      <dc:date>2011-06-29T02:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: AddIndex_management error:</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/addindex-management-error/m-p/317537#M11122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;IMG alt="Capture.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/178321_Capture.JPG" style="width: 620px; height: 174px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Feb 2016 01:54:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/addindex-management-error/m-p/317537#M11122</guid>
      <dc:creator>JoePlattner</dc:creator>
      <dc:date>2016-02-06T01:54:33Z</dc:date>
    </item>
  </channel>
</rss>

