<?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: Issue with related tables - FOREIGN KEY constraint in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/issue-with-related-tables-foreign-key-constraint/m-p/1303095#M50259</link>
    <description>&lt;P&gt;Unfortunately, no.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2023 17:35:35 GMT</pubDate>
    <dc:creator>PaulPetersen1</dc:creator>
    <dc:date>2023-06-26T17:35:35Z</dc:date>
    <item>
      <title>Issue with related tables - FOREIGN KEY constraint</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/issue-with-related-tables-foreign-key-constraint/m-p/1146224#M40672</link>
      <description>&lt;P&gt;I'm attempted to insert a new record into a "grandchild table" via URL. I pass in the GUID into the foreign key field that links up with the Parent globalID. Upon submitting the survey, I receive the following error:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Failed to submit.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Hide details&lt;/SPAN&gt;&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;- The INSERT statement conflicted with the FOREIGN KEY constraint "REL_FK_XXXX_SCHEMA_XXXX_0". The conflict occurred in database "db_1908", table "user_1908.XXX_SCHEMA_XXXX", column 'GlobalID'. The statement has been terminated.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Everything works fine if I delete the parent-to-grandchild geodatabase relationship. If I have relationships between parent and child and then child and grandchild everything is good. But as soon as I try to have a relationship between parent-child&amp;nbsp;&lt;EM&gt;and&lt;/EM&gt; parent-grandchild, I get the error above.&lt;/P&gt;&lt;P&gt;Stranglely, I can add records to the grandchild directly from the parent just fine in Field Maps, so this seems to be unique to Survey123.&lt;/P&gt;&lt;P&gt;One option is just to adapt a workflow without these multiple relationships, but I'd prefer to keep them if possible.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 18:19:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/issue-with-related-tables-foreign-key-constraint/m-p/1146224#M40672</guid>
      <dc:creator>PaulPetersen1</dc:creator>
      <dc:date>2022-02-21T18:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with related tables - FOREIGN KEY constraint</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/issue-with-related-tables-foreign-key-constraint/m-p/1303090#M50257</link>
      <description>&lt;P&gt;Hi PaulPeterson1.&amp;nbsp; I would love to hear if you found a solution.&amp;nbsp; I am having the same issue.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 17:26:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/issue-with-related-tables-foreign-key-constraint/m-p/1303090#M50257</guid>
      <dc:creator>BethanyCrenshaw1</dc:creator>
      <dc:date>2023-06-26T17:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with related tables - FOREIGN KEY constraint</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/issue-with-related-tables-foreign-key-constraint/m-p/1303095#M50259</link>
      <description>&lt;P&gt;Unfortunately, no.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 17:35:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/issue-with-related-tables-foreign-key-constraint/m-p/1303095#M50259</guid>
      <dc:creator>PaulPetersen1</dc:creator>
      <dc:date>2023-06-26T17:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with related tables - FOREIGN KEY constraint</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/issue-with-related-tables-foreign-key-constraint/m-p/1315104#M51003</link>
      <description>&lt;P&gt;Same message here.&lt;/P&gt;&lt;P&gt;I have a many-to-many relationship involved in editing session&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 15:39:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/issue-with-related-tables-foreign-key-constraint/m-p/1315104#M51003</guid>
      <dc:creator>SMauri</dc:creator>
      <dc:date>2023-08-03T15:39:37Z</dc:date>
    </item>
  </channel>
</rss>

