<?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 arcpy.da.searchcurson on joined table in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-da-searchcurson-on-joined-table/m-p/298364#M23087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have declared a searchcursor jFeatures on a joined table:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;arcpy.AddJoin_management("Output_Infrastructure_Points", "Infrastructure_OID", "ISline_lyr", "ISline_OID)
jFeatures = da.SearchCursor("Output_Infrastructure_Points", "*")&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see from printing out the field names (jFeatures.fields[]) that the cursor has read the joined table, but when I start reading the records in the table with a for-loop&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;for jFeature in jFeatures:
....&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;or when I call the cursors next-function&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;aa = jFeatures.next()&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;nothing happens. The script just jumps over this code as if no features existed in the joined table. I know by looking at the joined table in ArcMap that the join is performed successfully. So why am I not able to read the records of my joined table with the search cursor? Any idea is appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Nov 2013 14:37:51 GMT</pubDate>
    <dc:creator>JosteinSvegården</dc:creator>
    <dc:date>2013-11-06T14:37:51Z</dc:date>
    <item>
      <title>arcpy.da.searchcurson on joined table</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-da-searchcurson-on-joined-table/m-p/298364#M23087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have declared a searchcursor jFeatures on a joined table:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;arcpy.AddJoin_management("Output_Infrastructure_Points", "Infrastructure_OID", "ISline_lyr", "ISline_OID)
jFeatures = da.SearchCursor("Output_Infrastructure_Points", "*")&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see from printing out the field names (jFeatures.fields[]) that the cursor has read the joined table, but when I start reading the records in the table with a for-loop&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;for jFeature in jFeatures:
....&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;or when I call the cursors next-function&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;aa = jFeatures.next()&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;nothing happens. The script just jumps over this code as if no features existed in the joined table. I know by looking at the joined table in ArcMap that the join is performed successfully. So why am I not able to read the records of my joined table with the search cursor? Any idea is appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 14:37:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-da-searchcurson-on-joined-table/m-p/298364#M23087</guid>
      <dc:creator>JosteinSvegården</dc:creator>
      <dc:date>2013-11-06T14:37:51Z</dc:date>
    </item>
  </channel>
</rss>

