<?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 Push relates programatically in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/push-relates-programatically/m-p/149550#M3879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;ArcMap 10.2 Visual Studio 2010 vb.net.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can easily write a button addin that opens a form and allows the users to select a date range and run a query against a geodatabase standalone table that selects records within that date range.&amp;nbsp; This table is related to a feature attribute table of a geodatabase layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I for the life of me can't see anywhere how to "push" the relate to the feature attribute table programatically and in turn select all the related records in the layer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Mar 2016 18:17:29 GMT</pubDate>
    <dc:creator>JohnBarnes</dc:creator>
    <dc:date>2016-03-30T18:17:29Z</dc:date>
    <item>
      <title>Push relates programatically</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/push-relates-programatically/m-p/149550#M3879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;ArcMap 10.2 Visual Studio 2010 vb.net.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can easily write a button addin that opens a form and allows the users to select a date range and run a query against a geodatabase standalone table that selects records within that date range.&amp;nbsp; This table is related to a feature attribute table of a geodatabase layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I for the life of me can't see anywhere how to "push" the relate to the feature attribute table programatically and in turn select all the related records in the layer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 18:17:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/push-relates-programatically/m-p/149550#M3879</guid>
      <dc:creator>JohnBarnes</dc:creator>
      <dc:date>2016-03-30T18:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Push relates programatically</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/push-relates-programatically/m-p/149551#M3880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The key interfaces are IMemoryRelationshipClassFactory, IRelationshipClass and a method &lt;EM&gt;GetObjectsRelatedToObjectSet&lt;/EM&gt; using these you create a ISet object of related rows and use that to populate a SelectionSet. If you search the forums there are enough examples snippets of code to get you going.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Apr 2016 17:26:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/push-relates-programatically/m-p/149551#M3880</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2016-04-10T17:26:17Z</dc:date>
    </item>
  </channel>
</rss>

