<?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: Selecting related tables in ModelBuilder or Python in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/selecting-related-tables-in-modelbuilder-or-python/m-p/449471#M15128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Stephan&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are going to have to use a ModelBuilder tool called "Calculate Value" and write an ArcPy expression using a Search Cursor:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//0017000000v8000000"&gt;Calculate Value&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//000v00000039000000"&gt;Search Cursor&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this gets you going &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Sep 2012 18:54:37 GMT</pubDate>
    <dc:creator>PeterWilson</dc:creator>
    <dc:date>2012-09-27T18:54:37Z</dc:date>
    <item>
      <title>Selecting related tables in ModelBuilder or Python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-related-tables-in-modelbuilder-or-python/m-p/449470#M15127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I have a feature class and a table in a geodatabase, and there is a relate between them, I can very easily select a bunch of features in the feature layer in ArcMap and use the Related Tables pulldown in the table attribute window to select only those features in the table that relate to the selected features in the feature class.&amp;nbsp; That's basic GIS 101, right?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I am having trouble finding is a way to do the same thing, but using ArcToolbox/ModelBuilder or Python instead, so that I could include such queries in scheduled tasks.&amp;nbsp; I have searched the help documentation and looked up in the various forums, but haven't found anything promising.&amp;nbsp; Has anyone any suggestions?&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 20:50:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-related-tables-in-modelbuilder-or-python/m-p/449470#M15127</guid>
      <dc:creator>StephenRhone</dc:creator>
      <dc:date>2012-09-24T20:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting related tables in ModelBuilder or Python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-related-tables-in-modelbuilder-or-python/m-p/449471#M15128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Stephan&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are going to have to use a ModelBuilder tool called "Calculate Value" and write an ArcPy expression using a Search Cursor:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//0017000000v8000000"&gt;Calculate Value&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//000v00000039000000"&gt;Search Cursor&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this gets you going &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 18:54:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-related-tables-in-modelbuilder-or-python/m-p/449471#M15128</guid>
      <dc:creator>PeterWilson</dc:creator>
      <dc:date>2012-09-27T18:54:37Z</dc:date>
    </item>
  </channel>
</rss>

