<?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: Update Cursor script that allows selectable field to be updated? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/update-cursor-script-that-allows-selectable-field/m-p/734505#M56937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply. I have tried assigning a variable to a field, but I get a general 99999 error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy, os

arcpy.env.workspace = "C:/Temp" #arcpy.GetParameterAsText(0)
arcpy.env.overwriteOutput = True
outputWorkspace = "C:/Temp/Scratch" #arcpy.GetParameterAsText(1)

def outName(input,post="_Output"):
&amp;nbsp;&amp;nbsp;&amp;nbsp; """Returns output name."""
&amp;nbsp;&amp;nbsp;&amp;nbsp; outName=os.path.basename(input).split(".")[0]+post
&amp;nbsp;&amp;nbsp;&amp;nbsp; return outName
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
Attribute = "Parcel_Test.shp" #arcpy.GetParameterAsText(2)
Location = "Test_Wetlands.shp" #arcpy.GetParameterAsText(3)
Field = arcpy.GetParameterAsText(0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
#Get Count of the number of records for the file needing to be updated.
#This count will be automatically plugged into a range value needed to write results from the analysis to the output shapefile.
RangeCount = int(arcpy.GetCount_management(Attribute).getOutput(0))
print "There are", RangeCount, "records that need to be updated"
arcpy.AddMessage("There are "+str(RangeCount)+" that need to be updated\n")

#Create Features Layers from Feature Classes
AttributeFL=outName(Attribute,"_Layer")
LocationFL=outName(Location,"_Layer")
arcpy.MakeFeatureLayer_management(Attribute,AttributeFL)
arcpy.MakeFeatureLayer_management(Location, LocationFL)

#Begin Update
print "\nUpdating file with the number of records that intersect with each attribute"
arcpy.AddMessage("Updating file with the number of records that intersect with each attribute\n")

for attribute in range(0,RangeCount):
&amp;nbsp;&amp;nbsp;&amp;nbsp; FID = "FID=%s" % (attribute)
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.SelectLayerByAttribute_management(AttributeFL,"NEW_SELECTION",FID)
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.SelectLayerByLocation_management(LocationFL,"INTERSECT",AttributeFL)
&amp;nbsp;&amp;nbsp;&amp;nbsp; LocationCount = int(arcpy.GetCount_management(LocationFL).getOutput(0))
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage(str(FID)+" has "+str(LocationCount)+" records that intersect with it.")
&amp;nbsp;&amp;nbsp;&amp;nbsp; print str(FID), "has", LocationCount, "records that intersect with it."
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; #Update the three_mi field 
&amp;nbsp;&amp;nbsp;&amp;nbsp; uc=arcpy.UpdateCursor(AttributeFL)
&amp;nbsp;&amp;nbsp;&amp;nbsp; for line in uc:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; line.Field = LocationCount
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uc.updateRow(line) #Actually changes the table values to buffer count
&amp;nbsp;&amp;nbsp;&amp;nbsp; del line
&amp;nbsp;&amp;nbsp;&amp;nbsp; del uc

&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.SelectLayerByAttribute_management(AttributeFL,"CLEAR_SELECTION")
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
arcpy.AddMessage(Attribute+" has been updated\n")
print Attribute, "has been updated\n"
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error Message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Traceback (most recent call last):
&amp;nbsp; File "C:\Python26\ArcGIS10.0\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 326, in RunScript
&amp;nbsp;&amp;nbsp;&amp;nbsp; exec codeObject in __main__.__dict__
&amp;nbsp; File "C:\ArcGIS\Tools\Select_Update.py", line 67, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; line.Field = LocationCount
&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\arcobjects\_base.py", line 35, in __setattr__
&amp;nbsp;&amp;nbsp;&amp;nbsp; return setattr(self._arc_object, attr, ao)
RuntimeError: ERROR 999999: Error executing function.
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 07:18:49 GMT</pubDate>
    <dc:creator>RachelAlbritton</dc:creator>
    <dc:date>2021-12-12T07:18:49Z</dc:date>
    <item>
      <title>Update Cursor script that allows selectable field to be updated?</title>
      <link>https://community.esri.com/t5/python-questions/update-cursor-script-that-allows-selectable-field/m-p/734503#M56935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've written a code that selects attributes one by one. As each attribute is selected a select by location is performed to identify how many records in the select by location file intersect with the selected record from the select by attributes query. The number of records that intersect the selected attribute are recorded to the attribute table. The script works if the field to be updated is hardcodded into the script. I want to be able to pick what field gets to be updated each time the script is run. Is this possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import arcpy, os&amp;nbsp; arcpy.env.workspace = "C:/Temp" #arcpy.GetParameterAsText(0) arcpy.env.overwriteOutput = True outputWorkspace = "C:/Temp/Scratch" #arcpy.GetParameterAsText(1)&amp;nbsp; def outName(input,post="_Output"): &amp;nbsp;&amp;nbsp;&amp;nbsp; """Returns output name.""" &amp;nbsp;&amp;nbsp;&amp;nbsp; outName=os.path.basename(input).split(".")[0]+post &amp;nbsp;&amp;nbsp;&amp;nbsp; return outName &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Attribute = "Parcel_Test.shp" #arcpy.GetParameterAsText(2) Location = "Test_Wetlands.shp" #arcpy.GetParameterAsText(3) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #Get Count of the number of records for the file needing to be updated. #This count will be automatically plugged into a range value needed to write results from the analysis to the output shapefile. RangeCount = int(arcpy.GetCount_management(Attribute).getOutput(0)) print "There are", RangeCount, "records that need to be updated" arcpy.AddMessage("There are "+str(RangeCount)+" that need to be updated\n")&amp;nbsp; #Create Features Layers from Feature Classes AttributeFL=outName(Attribute,"_Layer") LocationFL=outName(Location,"_Layer") arcpy.MakeFeatureLayer_management(Attribute,AttributeFL) arcpy.MakeFeatureLayer_management(Location, LocationFL)&amp;nbsp; #Begin Update print "\nUpdating file with the number of records that intersect with each attribute" arcpy.AddMessage("Updating file with the number of records that intersect with each attribute\n")&amp;nbsp; for attribute in range(0,RangeCount): &amp;nbsp;&amp;nbsp;&amp;nbsp; FID = "FID=%s" % (attribute) &amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.SelectLayerByAttribute_management(AttributeFL,"NEW_SELECTION",FID) &amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.SelectLayerByLocation_management(LocationFL,"INTERSECT",AttributeFL) &amp;nbsp;&amp;nbsp;&amp;nbsp; LocationCount = int(arcpy.GetCount_management(LocationFL).getOutput(0)) &amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage(str(FID)+" has "+str(LocationCount)+" records that intersect with it.") &amp;nbsp;&amp;nbsp;&amp;nbsp; print str(FID), "has", LocationCount, "records that intersect with it." &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; #Update the three_mi field&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; uc=arcpy.UpdateCursor(AttributeFL) &amp;nbsp;&amp;nbsp;&amp;nbsp; for line in uc: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; line.count = LocationCount &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uc.updateRow(line) #Actually changes the table values to buffer count &amp;nbsp;&amp;nbsp;&amp;nbsp; del line &amp;nbsp;&amp;nbsp;&amp;nbsp; del uc&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.SelectLayerByAttribute_management(AttributeFL,"CLEAR_SELECTION") &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage(Attribute+" has been updated\n") print Attribute, "has been updated\n"&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 19:23:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-cursor-script-that-allows-selectable-field/m-p/734503#M56935</guid>
      <dc:creator>RachelAlbritton</dc:creator>
      <dc:date>2013-06-06T19:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Update Cursor script that allows selectable field to be updated?</title>
      <link>https://community.esri.com/t5/python-questions/update-cursor-script-that-allows-selectable-field/m-p/734504#M56936</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;BR /&gt;&lt;SPAN&gt;You could just probably add a new input parameter:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
inputFields = arcpy.GetParameterAsText(4)
&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

Then from the script properties, in the parameters tab, set it to type "field", multiple input and indicate the source layer to get the fields from. You'll get a list of field names with checkboxes and any fieldname you check will be your input.

Cheers


&lt;BLOCKQUOTE class="jive-quote"&gt;I've written a code that selects attributes one by one. As each attribute is selected a select by location is performed to identify how many records in the select by location file intersect with the selected record from the select by attributes query. The number of records that intersect the selected attribute are recorded to the attribute table. The script works if the field to be updated is hardcodded into the script. I want to be able to pick what field gets to be updated each time the script is run. Is this possible?

&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy, os

arcpy.env.workspace = "C:/Temp" #arcpy.GetParameterAsText(0)
arcpy.env.overwriteOutput = True
outputWorkspace = "C:/Temp/Scratch" #arcpy.GetParameterAsText(1)

def outName(input,post="_Output"):
&amp;nbsp;&amp;nbsp;&amp;nbsp; """Returns output name."""
&amp;nbsp;&amp;nbsp;&amp;nbsp; outName=os.path.basename(input).split(".")[0]+post
&amp;nbsp;&amp;nbsp;&amp;nbsp; return outName
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
Attribute = "Parcel_Test.shp" #arcpy.GetParameterAsText(2)
Location = "Test_Wetlands.shp" #arcpy.GetParameterAsText(3)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
#Get Count of the number of records for the file needing to be updated.
#This count will be automatically plugged into a range value needed to write results from the analysis to the output shapefile.
RangeCount = int(arcpy.GetCount_management(Attribute).getOutput(0))
print "There are", RangeCount, "records that need to be updated"
arcpy.AddMessage("There are "+str(RangeCount)+" that need to be updated\n")

#Create Features Layers from Feature Classes
AttributeFL=outName(Attribute,"_Layer")
LocationFL=outName(Location,"_Layer")
arcpy.MakeFeatureLayer_management(Attribute,AttributeFL)
arcpy.MakeFeatureLayer_management(Location, LocationFL)

#Begin Update
print "\nUpdating file with the number of records that intersect with each attribute"
arcpy.AddMessage("Updating file with the number of records that intersect with each attribute\n")

for attribute in range(0,RangeCount):
&amp;nbsp;&amp;nbsp;&amp;nbsp; FID = "FID=%s" % (attribute)
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.SelectLayerByAttribute_management(AttributeFL,"NEW_SELECTION",FID)
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.SelectLayerByLocation_management(LocationFL,"INTERSECT",AttributeFL)
&amp;nbsp;&amp;nbsp;&amp;nbsp; LocationCount = int(arcpy.GetCount_management(LocationFL).getOutput(0))
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage(str(FID)+" has "+str(LocationCount)+" records that intersect with it.")
&amp;nbsp;&amp;nbsp;&amp;nbsp; print str(FID), "has", LocationCount, "records that intersect with it."
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; #Update the three_mi field 
&amp;nbsp;&amp;nbsp;&amp;nbsp; uc=arcpy.UpdateCursor(AttributeFL)
&amp;nbsp;&amp;nbsp;&amp;nbsp; for line in uc:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; line.count = LocationCount
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uc.updateRow(line) #Actually changes the table values to buffer count
&amp;nbsp;&amp;nbsp;&amp;nbsp; del line
&amp;nbsp;&amp;nbsp;&amp;nbsp; del uc

&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.SelectLayerByAttribute_management(AttributeFL,"CLEAR_SELECTION")
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
arcpy.AddMessage(Attribute+" has been updated\n")
print Attribute, "has been updated\n"
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:18:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-cursor-script-that-allows-selectable-field/m-p/734504#M56936</guid>
      <dc:creator>ChrisPedrezuela</dc:creator>
      <dc:date>2021-12-12T07:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Update Cursor script that allows selectable field to be updated?</title>
      <link>https://community.esri.com/t5/python-questions/update-cursor-script-that-allows-selectable-field/m-p/734505#M56937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply. I have tried assigning a variable to a field, but I get a general 99999 error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy, os

arcpy.env.workspace = "C:/Temp" #arcpy.GetParameterAsText(0)
arcpy.env.overwriteOutput = True
outputWorkspace = "C:/Temp/Scratch" #arcpy.GetParameterAsText(1)

def outName(input,post="_Output"):
&amp;nbsp;&amp;nbsp;&amp;nbsp; """Returns output name."""
&amp;nbsp;&amp;nbsp;&amp;nbsp; outName=os.path.basename(input).split(".")[0]+post
&amp;nbsp;&amp;nbsp;&amp;nbsp; return outName
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
Attribute = "Parcel_Test.shp" #arcpy.GetParameterAsText(2)
Location = "Test_Wetlands.shp" #arcpy.GetParameterAsText(3)
Field = arcpy.GetParameterAsText(0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
#Get Count of the number of records for the file needing to be updated.
#This count will be automatically plugged into a range value needed to write results from the analysis to the output shapefile.
RangeCount = int(arcpy.GetCount_management(Attribute).getOutput(0))
print "There are", RangeCount, "records that need to be updated"
arcpy.AddMessage("There are "+str(RangeCount)+" that need to be updated\n")

#Create Features Layers from Feature Classes
AttributeFL=outName(Attribute,"_Layer")
LocationFL=outName(Location,"_Layer")
arcpy.MakeFeatureLayer_management(Attribute,AttributeFL)
arcpy.MakeFeatureLayer_management(Location, LocationFL)

#Begin Update
print "\nUpdating file with the number of records that intersect with each attribute"
arcpy.AddMessage("Updating file with the number of records that intersect with each attribute\n")

for attribute in range(0,RangeCount):
&amp;nbsp;&amp;nbsp;&amp;nbsp; FID = "FID=%s" % (attribute)
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.SelectLayerByAttribute_management(AttributeFL,"NEW_SELECTION",FID)
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.SelectLayerByLocation_management(LocationFL,"INTERSECT",AttributeFL)
&amp;nbsp;&amp;nbsp;&amp;nbsp; LocationCount = int(arcpy.GetCount_management(LocationFL).getOutput(0))
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage(str(FID)+" has "+str(LocationCount)+" records that intersect with it.")
&amp;nbsp;&amp;nbsp;&amp;nbsp; print str(FID), "has", LocationCount, "records that intersect with it."
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; #Update the three_mi field 
&amp;nbsp;&amp;nbsp;&amp;nbsp; uc=arcpy.UpdateCursor(AttributeFL)
&amp;nbsp;&amp;nbsp;&amp;nbsp; for line in uc:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; line.Field = LocationCount
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uc.updateRow(line) #Actually changes the table values to buffer count
&amp;nbsp;&amp;nbsp;&amp;nbsp; del line
&amp;nbsp;&amp;nbsp;&amp;nbsp; del uc

&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.SelectLayerByAttribute_management(AttributeFL,"CLEAR_SELECTION")
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
arcpy.AddMessage(Attribute+" has been updated\n")
print Attribute, "has been updated\n"
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error Message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Traceback (most recent call last):
&amp;nbsp; File "C:\Python26\ArcGIS10.0\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 326, in RunScript
&amp;nbsp;&amp;nbsp;&amp;nbsp; exec codeObject in __main__.__dict__
&amp;nbsp; File "C:\ArcGIS\Tools\Select_Update.py", line 67, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; line.Field = LocationCount
&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\arcobjects\_base.py", line 35, in __setattr__
&amp;nbsp;&amp;nbsp;&amp;nbsp; return setattr(self._arc_object, attr, ao)
RuntimeError: ERROR 999999: Error executing function.
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:18:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-cursor-script-that-allows-selectable-field/m-p/734505#M56937</guid>
      <dc:creator>RachelAlbritton</dc:creator>
      <dc:date>2021-12-12T07:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Update Cursor script that allows selectable field to be updated?</title>
      <link>https://community.esri.com/t5/python-questions/update-cursor-script-that-allows-selectable-field/m-p/734506#M56938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If your field name is a variable, you need to use the .setValue() method. For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;myFieldName = "CRAZY_FIELD" line.setValue(myFieldName, LocationCount)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 20:42:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-cursor-script-that-allows-selectable-field/m-p/734506#M56938</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2013-06-06T20:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Update Cursor script that allows selectable field to be updated?</title>
      <link>https://community.esri.com/t5/python-questions/update-cursor-script-that-allows-selectable-field/m-p/734507#M56939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That worked - Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 20:57:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-cursor-script-that-allows-selectable-field/m-p/734507#M56939</guid>
      <dc:creator>RachelAlbritton</dc:creator>
      <dc:date>2013-06-06T20:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Update Cursor script that allows selectable field to be updated?</title>
      <link>https://community.esri.com/t5/python-questions/update-cursor-script-that-allows-selectable-field/m-p/734508#M56940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yup you need to use setValue since using line.Field makes the program think there is an actual fieldname "Field"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 21:04:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/update-cursor-script-that-allows-selectable-field/m-p/734508#M56940</guid>
      <dc:creator>ChrisPedrezuela</dc:creator>
      <dc:date>2013-06-06T21:04:22Z</dc:date>
    </item>
  </channel>
</rss>

