<?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 Make one field equal another. (CalculateField_management) in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/make-one-field-equal-another-calculatefield/m-p/201279#M15486</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a simple python script that use to work but now I can't seem to get it to work. I just want a field in my parcels (attibute table) to equal a field in our oracle database by joining them. Here is the process I used: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Process: Make Query Table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.MakeQueryTable_management(OwnerParcel, lyrView, "ADD_VIRTUAL_KEY_FIELD", "", "", "")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Process: Make Query Table (2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.MakeQueryTable_management(dbo_OR_XREF, tblView, "ADD_VIRTUAL_KEY_FIELD", "", "", "")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Process: Add Join&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.AddJoin_management(lyrView, "GEOCODE", tblView, "GEO_CODE", "KEEP_ALL")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Process: Calculate Field&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.CalculateField_management(lyrView__3_, "lyrView.TAX_ID", "[TAXID]", "VB", "")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I run this in Model Builder, it gets to the Calculate Field step, and seems to start calculating but than I get this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 999999: Error executing function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invalid object name 'GDB_Release'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cancelled function&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Calculate Field) aborted by User.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't abort anything so I am a little confused by this message. I think the logic is sound because, like I said, it worked before. Any suggestions would be appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Sep 2011 19:53:08 GMT</pubDate>
    <dc:creator>MikePowell</dc:creator>
    <dc:date>2011-09-29T19:53:08Z</dc:date>
    <item>
      <title>Make one field equal another. (CalculateField_management)</title>
      <link>https://community.esri.com/t5/python-questions/make-one-field-equal-another-calculatefield/m-p/201279#M15486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a simple python script that use to work but now I can't seem to get it to work. I just want a field in my parcels (attibute table) to equal a field in our oracle database by joining them. Here is the process I used: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Process: Make Query Table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.MakeQueryTable_management(OwnerParcel, lyrView, "ADD_VIRTUAL_KEY_FIELD", "", "", "")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Process: Make Query Table (2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.MakeQueryTable_management(dbo_OR_XREF, tblView, "ADD_VIRTUAL_KEY_FIELD", "", "", "")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Process: Add Join&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.AddJoin_management(lyrView, "GEOCODE", tblView, "GEO_CODE", "KEEP_ALL")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Process: Calculate Field&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.CalculateField_management(lyrView__3_, "lyrView.TAX_ID", "[TAXID]", "VB", "")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I run this in Model Builder, it gets to the Calculate Field step, and seems to start calculating but than I get this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 999999: Error executing function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invalid object name 'GDB_Release'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cancelled function&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Calculate Field) aborted by User.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't abort anything so I am a little confused by this message. I think the logic is sound because, like I said, it worked before. Any suggestions would be appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 19:53:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/make-one-field-equal-another-calculatefield/m-p/201279#M15486</guid>
      <dc:creator>MikePowell</dc:creator>
      <dc:date>2011-09-29T19:53:08Z</dc:date>
    </item>
  </channel>
</rss>

