<?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 Programmatically change the datasource of a join (IRelQuery DestinationTable ??) in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/programmatically-change-the-datasource-of-a-join/m-p/383393#M10144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: HansVader&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello everybody&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to change the datasource of a join. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason for that is the following: I read the source out of an given Lyr-File, in which the path is abolute. If I load another project, I want the datasource to be the one I load, and not the one standing in the lyr. That's why I need to change that.&amp;nbsp; (This Lyr thing is not important for the question but it may give you a better understanding. Otherwise the lyr can be seen as a static file which contains sources and tablenames). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For illustration:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the source I load. (Q:datasource\ele1_testings_&lt;/SPAN&gt;&lt;STRONG&gt;fgdb&lt;/STRONG&gt;&lt;SPAN&gt;\...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]34678[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the source standing in the lyr and used for the join. (Q:\datasources\ele1_testing_&lt;/SPAN&gt;&lt;STRONG&gt;mdb&lt;/STRONG&gt;&lt;SPAN&gt;\...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]34679[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So how it's done?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for every hint!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jun 2014 06:05:47 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2014-06-18T06:05:47Z</dc:date>
    <item>
      <title>Programmatically change the datasource of a join (IRelQuery DestinationTable ??)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/programmatically-change-the-datasource-of-a-join/m-p/383393#M10144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: HansVader&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello everybody&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to change the datasource of a join. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason for that is the following: I read the source out of an given Lyr-File, in which the path is abolute. If I load another project, I want the datasource to be the one I load, and not the one standing in the lyr. That's why I need to change that.&amp;nbsp; (This Lyr thing is not important for the question but it may give you a better understanding. Otherwise the lyr can be seen as a static file which contains sources and tablenames). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For illustration:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the source I load. (Q:datasource\ele1_testings_&lt;/SPAN&gt;&lt;STRONG&gt;fgdb&lt;/STRONG&gt;&lt;SPAN&gt;\...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]34678[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the source standing in the lyr and used for the join. (Q:\datasources\ele1_testing_&lt;/SPAN&gt;&lt;STRONG&gt;mdb&lt;/STRONG&gt;&lt;SPAN&gt;\...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]34679[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So how it's done?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for every hint!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 06:05:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/programmatically-change-the-datasource-of-a-join/m-p/383393#M10144</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-06-18T06:05:47Z</dc:date>
    </item>
  </channel>
</rss>

