<?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 Joined Fields names in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/joined-fields-names/m-p/307952#M23974</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;With 10.0, I thought it was possible to use directly field names instead of getvalue/setvalue to get fields values. Problem comes with joined layer :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use rows=searchCursor("joined layer") and try for row in rows...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use the field name only (row.field_name), it's unknown, and if I use row.table_name.field_name, I get the error field "table_name" is unknown. I tried to set arcpy.env.qualifiedFieldNames either to True of False, but nothing worked out. Perhaps I need to set other delimiters ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Olivier&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Mar 2012 17:13:31 GMT</pubDate>
    <dc:creator>OlivierOlivier</dc:creator>
    <dc:date>2012-03-05T17:13:31Z</dc:date>
    <item>
      <title>Joined Fields names</title>
      <link>https://community.esri.com/t5/python-questions/joined-fields-names/m-p/307952#M23974</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;With 10.0, I thought it was possible to use directly field names instead of getvalue/setvalue to get fields values. Problem comes with joined layer :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use rows=searchCursor("joined layer") and try for row in rows...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use the field name only (row.field_name), it's unknown, and if I use row.table_name.field_name, I get the error field "table_name" is unknown. I tried to set arcpy.env.qualifiedFieldNames either to True of False, but nothing worked out. Perhaps I need to set other delimiters ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Olivier&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 17:13:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/joined-fields-names/m-p/307952#M23974</guid>
      <dc:creator>OlivierOlivier</dc:creator>
      <dc:date>2012-03-05T17:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Joined Fields names</title>
      <link>https://community.esri.com/t5/python-questions/joined-fields-names/m-p/307953#M23975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For joined tables you still have to use the getVaue statement I am fairly certain.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;cur = arcpy.SearchCursor(layer)
for row in cur:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; row.getValue("JoinedTableName.FieldName")&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:44:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/joined-fields-names/m-p/307953#M23975</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2021-12-11T14:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Joined Fields names</title>
      <link>https://community.esri.com/t5/python-questions/joined-fields-names/m-p/307954#M23976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mathew,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, I hoped it could solve this problem of querying joined fields which works with SearchCursor but not with UpdateCursor... Never mind !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Olivier&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 18:04:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/joined-fields-names/m-p/307954#M23976</guid>
      <dc:creator>OlivierOlivier</dc:creator>
      <dc:date>2012-03-05T18:04:28Z</dc:date>
    </item>
  </channel>
</rss>

