<?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: Best approach at continually updating data in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209551#M1297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I like this idea. Sanity is good. Users are good at breaking systems, unfortunately. I will have to implement something like this. I appreciate y'all's help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Apr 2016 17:53:46 GMT</pubDate>
    <dc:creator>AdrianWelsh</dc:creator>
    <dc:date>2016-04-18T17:53:46Z</dc:date>
    <item>
      <title>Best approach at continually updating data</title>
      <link>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209544#M1290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am hoping to generate some ideas on how I should best handle a weekly update of some GIS data, particularly the attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems simple enough but I wanted to see what other’s thought. I am working on a project where we have some parcels and each one has a status (with like 9 different options). Each week, we update this status with a new status, but only when it needs updating. The parcels have unique identifiers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We get this info in the form of an Excel sheet (with the unique parcel number and the new status, etc.). So far, I have been manually updating each parcel’s status with the new status since this is the quick and dirty way, but I want to find a more automated solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Based on this vague information, what are your thoughts on the most efficient way of handling this?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(to shorten this post, I’ll put some thoughts in a reply below)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 15:33:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209544#M1290</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-04-18T15:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach at continually updating data</title>
      <link>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209545#M1291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had thought of making a Python toolbox through ArcMap or ArcGIS Pro that would list each parcel, show the current status, and then give a drop-down list for updating the status. But, it seems that the toolboxes do not necessarily behave this way. This might call for a different kind of program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had thought of having some kind of interface that lists each parcel and allows the user to update the status with a drop-down, and use the UpdateCursor (arcpy) to update each row, etc. But, wasn’t sure if this would work the best way. My thoughts were leaning towards utilizing the tkinter module to make a form…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is in a file geodatabase but that doesn’t really make or break anything. The data will also be displayed in ArcGIS Online. I am not opposed to using any kind of web-based programming to handle these updates either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, I would love ideas and suggestions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 15:34:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209545#M1291</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-04-18T15:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach at continually updating data</title>
      <link>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209546#M1292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adrian, if it is already in and Excel spreadsheet with a common field (parcel ID), why not just related the two files and calculate the field.&amp;nbsp; If there isn't a reason to view this manually before the update, the should work faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;might not hurt to create a backup of the attribute table before the update, in case there are any blips in the process.&amp;nbsp; Depending on where the data is stored, this might just be a version or an archive.&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/geodatabases/geodatabase-archiving.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/geodatabases/geodatabase-archiving.htm"&gt;Geodatabase archiving—ArcGIS Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 15:43:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209546#M1292</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-04-18T15:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach at continually updating data</title>
      <link>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209547#M1293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This sounds like something accomplished with a &lt;A href="http://pro.arcgis.com/en/pro-app/help/data/tables/joins-and-relates.htm#GUID-39C9610A-6A73-4985-ADB8-7354EA9DB8BF"&gt;join &lt;/A&gt;(on parcel number) then field calculate status.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 15:56:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209547#M1293</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2016-04-18T15:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach at continually updating data</title>
      <link>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209548#M1294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rebecca, thanks for the reply. That is a great idea and would work well if the data was always clean and nice. I guess I could 'force' the people providing the data to make it match my domains. Definitely good idea about the archiving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had the thought of allowing the project manager access to some kind of updating tool so that he could be the one putting in the updates (with a simple drop down list) when he got the updates (but these types of people really like to delegate, haha). The other thing is, it's not always in a spreadsheet. Sometimes it's an email list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I like the idea of making this a spreadsheet type of action to where I can force the updating people to give the correct information, and then relate, then calculate the field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 16:22:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209548#M1294</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-04-18T16:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach at continually updating data</title>
      <link>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209549#M1295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Darren, this just seems too simple. I want to make an app that will be flashy and do everything I want without any issues!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though, I like your approach. I might have to start making people give me spreadsheets in a standard format instead of the [junk] that I always get, haha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 16:25:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209549#M1295</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-04-18T16:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach at continually updating data</title>
      <link>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209550#M1296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For your own sanity, I'd keep it simple as possible - it is so painful trying to anticipate every little thing the user can do to break your system. If possible, you should only give them the option to enter data correctly. I agree you should request a standardized format. You may also consider using a database that can take advantage of data validation upon entry (like an FGDB domain, although which DB you choose will depend on your setup).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 16:37:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209550#M1296</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2016-04-18T16:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach at continually updating data</title>
      <link>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209551#M1297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I like this idea. Sanity is good. Users are good at breaking systems, unfortunately. I will have to implement something like this. I appreciate y'all's help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 17:53:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209551#M1297</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-04-18T17:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach at continually updating data</title>
      <link>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209552#M1298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adrian,&lt;/P&gt;&lt;P&gt;You could absolutely over complicate if you wanted. &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Get your domain &lt;/LI&gt;&lt;LI&gt;Validate your excel against your domain &lt;/LI&gt;&lt;LI&gt;Fix errors&lt;/LI&gt;&lt;LI&gt;Join the tables&lt;/LI&gt;&lt;LI&gt;Query for changes originField &amp;lt;&amp;gt; updatedField&lt;/LI&gt;&lt;LI&gt;Calculate originField to match updatedField&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;#import module
import arcpy


#get the feature class we want the domains for
fc = arcpy.GetParameterAsText(0)


desc = arcpy.Describe(fc)
desc1 = arcpy.Describe(desc.path)


#print desc1.datasetType
if desc1.dataType == 'FeatureDataset':
&amp;nbsp;&amp;nbsp;&amp;nbsp; fcworkspace = desc1.path
else:
&amp;nbsp;&amp;nbsp;&amp;nbsp; fcworkspace = desc.path




#List the domains
domains = arcpy.da.ListDomains(fcworkspace)


#List the fields 
fields = arcpy.ListFields(fc)


domainList = []


#Loop through the fields, determine if they have a domain and add
#those with domains to the dictionary and assign it a default value
for field in fields:
&amp;nbsp;&amp;nbsp;&amp;nbsp; if field.domain:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; domainList.append(field.domain)


#Create a dictionary to hold the data
domaindict = {}


#Loop through domains and grab the coded values for feature class
for domain in domains:
&amp;nbsp;&amp;nbsp;&amp;nbsp; if domain.domainType =='CodedValue':
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if domain.name in domainList:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; domaindict[domain.name]=domain.codedValues
textline = ""
for key,value in domaindict.iteritems():
&amp;nbsp;&amp;nbsp;&amp;nbsp; textline = textline + key + '\n'
&amp;nbsp;&amp;nbsp;&amp;nbsp; for k,v in value.iteritems():
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; textline = textline + '\t' + str(k) + '\t:\t' +str(v) + '\n'
arcpy.AddMessage(textline)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:20:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209552#M1298</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2021-12-11T10:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach at continually updating data</title>
      <link>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209553#M1299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wes, I love over complications! This code is great! Thanks for sharing. I'll have to tinker around with it some and come up with some added complications!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 19:40:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209553#M1299</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-04-18T19:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach at continually updating data</title>
      <link>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209554#M1300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adrian&amp;nbsp; Just to add a little more to Rebecca's comments...&amp;nbsp; I have a similar situation with updating maintenance needs on bridges.&amp;nbsp; Our situation, we have many different consultants inspecting bridges all with different software systems and such ... but all had an excel spreadsheet in common.&amp;nbsp; So I learned and applied a little vba programming to excel to "Standardize" and validate the excel form to match our domains and attributes... this being a little down and dirty has work out very well for us. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:16:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209554#M1300</guid>
      <dc:creator>TedKowal</dc:creator>
      <dc:date>2016-04-19T16:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach at continually updating data</title>
      <link>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209555#M1301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;--- LOL ---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excel VLookup is soooooooo much more simple.&amp;nbsp;&amp;nbsp; Guess I am a minimalist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:22:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209555#M1301</guid>
      <dc:creator>TedKowal</dc:creator>
      <dc:date>2016-04-19T16:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach at continually updating data</title>
      <link>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209556#M1302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, why bother using all those ArcGIS/arcpy tools? You can just &lt;A href="http://www.python-excel.org/"&gt;manipulate the Excel through Python&lt;/A&gt;. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:45:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209556#M1302</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2016-04-19T16:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach at continually updating data</title>
      <link>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209557#M1303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright &lt;A href="https://community.esri.com/migrated-users/16710" target="_blank"&gt;Wes Miller&lt;/A&gt;​, I finally was able to get back to this. I attempted to over-complicate but said "screw it" on the domains.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After some quality checking, this seemed to work really well, but I wanted to share my code to see how I can improve things. This is what I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;#import modules
import arcpy
from time import strftime

# start the timer...
print 'Start Script: ' + strftime('%Y-%m-%d %H:%M:%S')

# identify variables for feature class and table
workspace = 'C:/Users/AWelsh/Documents/2016/' + \
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '15019-MWN-SR68_Bangerter to 12600 South (11203)/' +\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '11203-RedwoodRd-Bangerter-to-126S/' +\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '11203-RedwoodRd-Bangerter-to-126S.gdb'

fcParcels = 'Parcel_SpatialJoin_3_JoinTable_FIX'
tblParcels = 'ParcelTable_20160519'

# set the workspace environment to our workspace
arcpy.env.workspace = workspace

# identify fields used for updating
fieldsParcels = ['PARCEL_NUMBER', 'PARTIAL_SUBMITTAL', 'SUBMITTALSCHEDULE',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'COUNTY_TAX_ID_NO', 'RW_Sheet', 'SQUARE_FEET_OF_TAKE',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'SQUARE_FEET_PERP_EASE', 'SQUARE_FEET_TEMP_EASE',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'RISK_MITIGATION', 'Status']

# Here is what we're going to do:
# One-by-one, check each row in the Feature Class against
# each row in the Table, and update if there are changes...

# first, it helps to "zero" out the arrays and counter
fcrow = ['','','','','','','','','','']
tblrow = ['','','','','','','','','','']
counter = 0

# putting this all in a try-catch statement to catch any errors
try:

&amp;nbsp;&amp;nbsp;&amp;nbsp; with arcpy.da.SearchCursor(tblParcels, fieldsParcels) as tblCursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for tblrow in tblCursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; with arcpy.da.UpdateCursor(fcParcels, fieldsParcels) as fcCursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fcrow = ['','','','','','','','','','']
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # ...need to zero out the row again...
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for fcrow in fcCursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (str(tblrow[0]) == str(fcrow[0])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and str(tblrow[3]) == str(fcrow[3])):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fcrow[1] = tblrow[1]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fcrow[2] = tblrow[2]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fcrow[4] = tblrow[4]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fcrow[5] = tblrow[5]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fcrow[6] = tblrow[6]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fcrow[7] = tblrow[7]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fcrow[8] = tblrow[8]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fcrow[9] = tblrow[9]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print('Parcel ' + str(fcrow[0]) + ' was updated.')
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fcCursor.updateRow(fcrow)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter = counter + 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; continue

# except statement to catch the errors
except Exception:
&amp;nbsp;&amp;nbsp;&amp;nbsp; e =sys.exc_info()[1]
&amp;nbsp;&amp;nbsp;&amp;nbsp; print(e.args[0])
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddError(e.args[0])
except arcpy.ExcecuteError:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print(arcpy.GetMessages(2))

# how many rows were updated?
print 'Updated ' + str(counter) + ' rows.'
# end the timer...
print 'Finshed Script: ' + strftime('%Y-%m-%d %H:%M:%S')&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:20:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209557#M1303</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2021-12-11T10:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach at continually updating data</title>
      <link>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209558#M1304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it does what you need it to do, go with it. You may have gotten a lot more speed using a table join and calculate field tools.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 12:53:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/best-approach-at-continually-updating-data/m-p/209558#M1304</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-06-16T12:53:37Z</dc:date>
    </item>
  </channel>
</rss>

