<?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: Many to 1 table updates throgh Relationship Class in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/many-to-1-table-updates-throgh-relationship-class/m-p/85891#M4976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I created a Relationship class on the Hydrant FC and the Historical Table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Type:&amp;nbsp; Simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Carnality:&amp;nbsp; 1- Many&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Notification:&amp;nbsp; Forward (origin to destination) (Hydrant FC to Historical Table)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I didnt setup any rules at this point in the Relationship Class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can identify and see the related records...I can edit the related records...BUT cannot figure out how to add a new record to an existing FC point.&amp;nbsp; Any thoughts?&amp;nbsp; Is my Carnality set incorrect?&amp;nbsp; How is this accomplished.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Oct 2013 15:06:24 GMT</pubDate>
    <dc:creator>JayKappy</dc:creator>
    <dc:date>2013-10-08T15:06:24Z</dc:date>
    <item>
      <title>Many to 1 table updates throgh Relationship Class</title>
      <link>https://community.esri.com/t5/data-management-questions/many-to-1-table-updates-throgh-relationship-class/m-p/85889#M4974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Say I have a Feature Class and a Stand alone table set up with a Relationship Class&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Say this is an inspection based Feature CLass....Say hydrants.&amp;nbsp; I inspect these locations once a year.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the relationship class there to hold the historical records of the inspections over time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I add records to the related table?&amp;nbsp; If I add a record it creates a New Record in the Hydrant table...but how do I apply edits nand new records to the related table to house the historical records?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I edit the historical table in ArcMap? ArcGIS online?&amp;nbsp; THanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 18:28:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/many-to-1-table-updates-throgh-relationship-class/m-p/85889#M4974</guid>
      <dc:creator>JayKappy</dc:creator>
      <dc:date>2013-10-07T18:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Many to 1 table updates throgh Relationship Class</title>
      <link>https://community.esri.com/t5/data-management-questions/many-to-1-table-updates-throgh-relationship-class/m-p/85890#M4975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Say I have a Feature Class and a Stand alone table set up with a Relationship Class&lt;BR /&gt;Say this is an inspection based Feature CLass....Say hydrants.&amp;nbsp; I inspect these locations once a year.&lt;BR /&gt;I have the relationship class there to hold the historical records of the inspections over time.&lt;BR /&gt;&lt;BR /&gt;How do I add records to the related table?&amp;nbsp; If I add a record it creates a New Record in the Hydrant table...but how do I apply edits nand new records to the related table to house the historical records?&lt;BR /&gt;&lt;BR /&gt;Can I edit the historical table in ArcMap? ArcGIS online?&amp;nbsp; THanks&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sounds like you have a two-way communication relationship or composite relationship: that is, a record in the table must have a record (feature) in the feature class.&amp;nbsp; It also sounds like you don't want that.&amp;nbsp; My guess is what you really want is a relationship that creates a record in your table IF/WHEN you add a fire hydrant to your feature class, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, you need to redefine your relationship class.&amp;nbsp; Once you get that straightened out, using a relationship class (or just a simple relate) is a really cool way to manage your data.&amp;nbsp; When you select a feature that is related to the table, you can add or edit records that are subsequently selected in the table through the relationship.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 19:22:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/many-to-1-table-updates-throgh-relationship-class/m-p/85890#M4975</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2013-10-07T19:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Many to 1 table updates throgh Relationship Class</title>
      <link>https://community.esri.com/t5/data-management-questions/many-to-1-table-updates-throgh-relationship-class/m-p/85891#M4976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I created a Relationship class on the Hydrant FC and the Historical Table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Type:&amp;nbsp; Simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Carnality:&amp;nbsp; 1- Many&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Notification:&amp;nbsp; Forward (origin to destination) (Hydrant FC to Historical Table)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I didnt setup any rules at this point in the Relationship Class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can identify and see the related records...I can edit the related records...BUT cannot figure out how to add a new record to an existing FC point.&amp;nbsp; Any thoughts?&amp;nbsp; Is my Carnality set incorrect?&amp;nbsp; How is this accomplished.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 15:06:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/many-to-1-table-updates-throgh-relationship-class/m-p/85891#M4976</guid>
      <dc:creator>JayKappy</dc:creator>
      <dc:date>2013-10-08T15:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Many to 1 table updates throgh Relationship Class</title>
      <link>https://community.esri.com/t5/data-management-questions/many-to-1-table-updates-throgh-relationship-class/m-p/85892#M4977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks&lt;BR /&gt;So I created a Relationship class on the Hydrant FC and the Historical Table.&lt;BR /&gt;Type:&amp;nbsp; Simple&lt;BR /&gt;Carnality:&amp;nbsp; 1- Many&lt;BR /&gt;Notification:&amp;nbsp; Forward (origin to destination) (Hydrant FC to Historical Table)&lt;BR /&gt;I didnt setup any rules at this point in the Relationship Class.&lt;BR /&gt;&lt;BR /&gt;I can identify and see the related records...I can edit the related records...BUT cannot figure out how to add a new record to an existing FC point.&amp;nbsp; Any thoughts?&amp;nbsp; Is my Carnality set incorrect?&amp;nbsp; How is this accomplished.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See this for an explanation better than I can provide:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//004t00000004000000.htm"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//004t00000004000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;In a simple relationship, related objects can exist independently of each other. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;In a composite relationship, destination objects can't exist independently of origin objects, so when the origin is deleted, the related destination objects are also deleted in a process called a cascade delete.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;finally:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;In simple relationships, getting this correct is critical. This is because when you delete a record in the origin class, the simple relationship class finds the matching records in the destination class and sets the value of their key fields to Null.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With respect to adding a hydrant, can't you simply add the feature class to an ArcMap session and then start an edit session on it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 16:45:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/many-to-1-table-updates-throgh-relationship-class/m-p/85892#M4977</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2013-10-08T16:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Many to 1 table updates throgh Relationship Class</title>
      <link>https://community.esri.com/t5/data-management-questions/many-to-1-table-updates-throgh-relationship-class/m-p/85893#M4978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes I can add a new feature to the Hydrant FC no problem and it adds a record to the historical table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I want to add multiple records to the Historical table relating to that single Hydrant.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That make sense?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Historical table is simply a stand alone table...no geometry.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 18:33:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/many-to-1-table-updates-throgh-relationship-class/m-p/85893#M4978</guid>
      <dc:creator>JayKappy</dc:creator>
      <dc:date>2013-10-08T18:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Many to 1 table updates throgh Relationship Class</title>
      <link>https://community.esri.com/t5/data-management-questions/many-to-1-table-updates-throgh-relationship-class/m-p/85894#M4979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes I can add a new feature to the Hydrant FC no problem and it adds a record to the historical table.&lt;BR /&gt;But I want to add multiple records to the Historical table relating to that single Hydrant.&lt;BR /&gt;That make sense?&lt;BR /&gt;The Historical table is simply a stand alone table...no geometry.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And?&amp;nbsp; That is how it is supposed to work.&amp;nbsp; If you want to add an additional record to the table, edit it too.&amp;nbsp; Just be sure to put in the correct value in the key field and you're good to go.&amp;nbsp; (BTW, yeah, I know what a table is... Thanks.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 21:26:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/many-to-1-table-updates-throgh-relationship-class/m-p/85894#M4979</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2013-10-08T21:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Many to 1 table updates throgh Relationship Class</title>
      <link>https://community.esri.com/t5/data-management-questions/many-to-1-table-updates-throgh-relationship-class/m-p/85895#M4980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;And?&amp;nbsp; That is how it is supposed to work.&amp;nbsp; If you want to add an additional record to the table, edit it too.&amp;nbsp; Just be sure to put in the correct value in the key field and you're good to go.&amp;nbsp; (BTW, yeah, I know what a table is... Thanks.)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was not implying that you did not know what a Table was...no need to get snippy.....just trying to point out that the related object was not another FC with Geometry but rather a table, if that were to affect things.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was hoping for something a little more automatic....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So what you are saying is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;that I have to actually figure out what Key field I am dealing with in the main FC&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Go back to the related table and add a new record and manually type in the ID from the main FC record I am dealing with.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 11:40:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/many-to-1-table-updates-throgh-relationship-class/m-p/85895#M4980</guid>
      <dc:creator>JayKappy</dc:creator>
      <dc:date>2013-10-10T11:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Many to 1 table updates throgh Relationship Class</title>
      <link>https://community.esri.com/t5/data-management-questions/many-to-1-table-updates-throgh-relationship-class/m-p/85896#M4981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I was not implying that you did not know what a Table was...no need to get snippy.....just trying to point out that the related object was not another FC with Geometry but rather a table, if that were to affect things.&lt;BR /&gt;I was hoping for something a little more automatic....&lt;BR /&gt;So what you are saying is:&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;that I have to actually figure out what Key field I am dealing with in the main FC&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Go back to the related table and add a new record and manually type in the ID from the main FC record I am dealing with.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Okay; fair enough.&amp;nbsp; I'll keep the snippiness to minimum...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Yes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Yes&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But to elaborate:&amp;nbsp; it seems as though you have table in some format that has the historical data in it.&amp;nbsp; You have a feature class with hydrants. And you need to create a relationship where there currently isn't one.&amp;nbsp; Is this correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If that is the case, I can not see how you can automatically create a relationship.&amp;nbsp; However, if there is something, anything, that appears in both the feature class and the stand alone table that can tie a hydrant to one or more of the historical records you can then create the needed relationship.&amp;nbsp; Maybe an address? Or serial number? Or..?&amp;nbsp; And if you can do this, I wouldn't necessarily create a relationship class, but rather just a relate in ArcMap.&amp;nbsp; You can come back to a relationship class later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Assuming have a relate set up in ArcMap; add a field to your feature class called something like MyKey or JoinID etc and calc it equal to to the objectid.&amp;nbsp; That value will never change and it ensures a unique value.&amp;nbsp; As you add features sometime in the future, you'll need to calc that field accordingly.&amp;nbsp; Add a similar field in your historical table; leave them null.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are a python guy you can probably use a cursor to step through each feature, select it, use the related tables function to select the appropriate related records, and calculate the the &amp;lt;null&amp;gt; key field in the table to the value specified in the the selected feature class, and be on your way back to the relationship class concept.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're not a programmer, the grunt work begins. And you'll perform the described workflow manually.&amp;nbsp; Select feature, related table, calc related records id field; repeat ad nauseum. (But what else are you going to do in a bright, crisp fall afternoon?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may ask if I have a serial number that is unique to the hydrant, and that serial number appears in my historical data table, why do I need to do this?&amp;nbsp; The short answer is you don't, really.&amp;nbsp; But this will just establish a nice clean item to maintain the relationship with, that is used for nothing else.&amp;nbsp; You'll be able to create your relationship class, add new hydrants (that have no history) and then add history records related to that new hydrant as needed.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now if there is nothing at all for you to establish the initial relationship, or I've completely missed the boat here, my apologies for wasting your time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 11:04:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/many-to-1-table-updates-throgh-relationship-class/m-p/85896#M4981</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2013-10-11T11:04:10Z</dc:date>
    </item>
  </channel>
</rss>

