<?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: Python - insert records to MS Access - error in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-insert-records-to-ms-access-error/m-p/325704#M25340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcMap - Python 2.7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Apr 2018 20:33:04 GMT</pubDate>
    <dc:creator>RobertMEIER</dc:creator>
    <dc:date>2018-04-05T20:33:04Z</dc:date>
    <item>
      <title>Python - insert records to MS Access - error</title>
      <link>https://community.esri.com/t5/python-questions/python-insert-records-to-ms-access-error/m-p/325702#M25338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use Python arcpy to append records to an MS Access table, from a feature class. I keep running into the error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RuntimeError: ERROR 999999: Error executing function.&lt;BR /&gt;You cannot add or change a record because a related record is required in table 'Valid_Locations'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where 'Valid_Locations' is a related LookUp table. I understand the relationship/referential integrity, etc. I am not inserting a value that is not in the lookup table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get this error whether I use the Append tool/command and field mappings,etc. or using an InsertCursor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 20:05:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-insert-records-to-ms-access-error/m-p/325702#M25338</guid>
      <dc:creator>RobertMEIER</dc:creator>
      <dc:date>2018-04-05T20:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Python - insert records to MS Access - error</title>
      <link>https://community.esri.com/t5/python-questions/python-insert-records-to-ms-access-error/m-p/325703#M25339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;arcmap or pro?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 20:31:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-insert-records-to-ms-access-error/m-p/325703#M25339</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-04-05T20:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Python - insert records to MS Access - error</title>
      <link>https://community.esri.com/t5/python-questions/python-insert-records-to-ms-access-error/m-p/325704#M25340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcMap - Python 2.7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 20:33:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-insert-records-to-ms-access-error/m-p/325704#M25340</guid>
      <dc:creator>RobertMEIER</dc:creator>
      <dc:date>2018-04-05T20:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Python - insert records to MS Access - error</title>
      <link>https://community.esri.com/t5/python-questions/python-insert-records-to-ms-access-error/m-p/325705#M25341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry for the post - my insert cursor code was wrong, I was trying to insert the row before setting all the values. Once I fixed that, I was able to add the rows without error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still don't know why the Append tool won't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 21:19:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-insert-records-to-ms-access-error/m-p/325705#M25341</guid>
      <dc:creator>RobertMEIER</dc:creator>
      <dc:date>2018-04-05T21:19:37Z</dc:date>
    </item>
  </channel>
</rss>

