<?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: How do I display an attribute table field using a search cursor? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-do-i-display-an-attribute-table-field-using-a/m-p/601277#M47004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! Say I wanted to pull a certain value out of the field using the 'where clause'. How is that done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2018 20:34:17 GMT</pubDate>
    <dc:creator>JacksonBrown</dc:creator>
    <dc:date>2018-04-04T20:34:17Z</dc:date>
    <item>
      <title>How do I display an attribute table field using a search cursor?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-display-an-attribute-table-field-using-a/m-p/601274#M47001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to use arc py and the search cursor tool to display values from a field in my attribute table called 'NSA' inside a layer called 'Receiver_NSA_Label_Join'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the code that I use to do this? Everything I have tried hasn't worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 19:46:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-display-an-attribute-table-field-using-a/m-p/601274#M47001</guid>
      <dc:creator>JacksonBrown</dc:creator>
      <dc:date>2018-04-04T19:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display an attribute table field using a search cursor?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-display-an-attribute-table-field-using-a/m-p/601275#M47002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming ArcGIS desktop and Python 2.x:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy

fc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Your_Feature_Class'&lt;/SPAN&gt;
fields &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Fields'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'You'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Want'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;with&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;da&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SearchCursor&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;fields&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; cursor&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; row &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; cursor&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; row‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;If using ArcGIS Pro with python 3.x,change&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; row
&lt;SPAN class="comment token"&gt;# to&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;row&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:46:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-display-an-attribute-table-field-using-a/m-p/601275#M47002</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-12-12T01:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display an attribute table field using a search cursor?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-display-an-attribute-table-field-using-a/m-p/601276#M47003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are trying to use python to display labels on a map that get data from a related table in a one-to-many or many-to-many relationship then take a look at my&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/blogs/richard_fairhurst/2015/02/07/creating-labels-with-related-table-data"&gt;Creating Labels with Related Table Data&lt;/A&gt;&amp;nbsp;Blog.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 20:24:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-display-an-attribute-table-field-using-a/m-p/601276#M47003</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2018-04-04T20:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I display an attribute table field using a search cursor?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-display-an-attribute-table-field-using-a/m-p/601277#M47004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! Say I wanted to pull a certain value out of the field using the 'where clause'. How is that done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 20:34:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-display-an-attribute-table-field-using-a/m-p/601277#M47004</guid>
      <dc:creator>JacksonBrown</dc:creator>
      <dc:date>2018-04-04T20:34:17Z</dc:date>
    </item>
  </channel>
</rss>

