<?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 relate in model builder in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/relate-in-model-builder/m-p/756148#M2643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a one-to-many relationship and would like to iterate through each record in the table, select the records in the related table, query to find if a specific value, then calculate field1 in the iterate table, if another value then calculate field2 in iterate table. &amp;nbsp;I am trying to add the values from a one-to-many relate to the source table so that I can get ride of the relate.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Mar 2017 16:13:59 GMT</pubDate>
    <dc:creator>JoanneHalls</dc:creator>
    <dc:date>2017-03-06T16:13:59Z</dc:date>
    <item>
      <title>relate in model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/relate-in-model-builder/m-p/756148#M2643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a one-to-many relationship and would like to iterate through each record in the table, select the records in the related table, query to find if a specific value, then calculate field1 in the iterate table, if another value then calculate field2 in iterate table. &amp;nbsp;I am trying to add the values from a one-to-many relate to the source table so that I can get ride of the relate.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 16:13:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/relate-in-model-builder/m-p/756148#M2643</guid>
      <dc:creator>JoanneHalls</dc:creator>
      <dc:date>2017-03-06T16:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: relate in model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/relate-in-model-builder/m-p/756149#M2644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A common approach to convert a one to many to relate to one to one is to summarize the related table by the key. The Summary Statistics tool can give you a table unique by your key, which you can then join up one-to-one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach to consider would be to take your "many" table and join back to the source ("many to one"), you could then use a arcpy.da.SearchCursor in a little function embedded in the Calculate Value tool to do your work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is some help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 04:51:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/relate-in-model-builder/m-p/756149#M2644</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-03-08T04:51:41Z</dc:date>
    </item>
  </channel>
</rss>

