<?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: Hi first time here - query on  field calculator in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/hi-first-time-here-query-on-160-field-calculator/m-p/319989#M24863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;o    Hi Richard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much for getting back to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having tried the one line example, I still get an 'ERROR 99999: Error executing function.  Syntax error.  Failed to execute (CalculateField).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I have it exactly as you suggest but any further advice would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it ok as a statement if the Geology1 field is blank (ie will it just leave it blank)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The more complex statement I’m afraid won’t work in the general sense because the format of the RCS_X field is very different in many cases. I’m expecting to run the one line statement multiple times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks.........Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 28 Sep 2014 18:17:14 GMT</pubDate>
    <dc:creator>daveDurkin</dc:creator>
    <dc:date>2014-09-28T18:17:14Z</dc:date>
    <item>
      <title>Hi first time here - query on  field calculator</title>
      <link>https://community.esri.com/t5/python-questions/hi-first-time-here-query-on-160-field-calculator/m-p/319986#M24860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - very new to this so apologies for its simplicity.&lt;/P&gt;&lt;P&gt;Arc Desktop v10.2&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to complete a table field based on (part of) the contents of another field from the same table. I've tried VB and Python.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get the contents of a field called 'Geology1' filled as a text string "CLAY, SILT, SAND AND GRAVEL" if another field called RCS-X has a text string "C+S+V+Z".&amp;nbsp; For example.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the field calculator (calculate field) with various forms of the attached. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If [RCS_X] = "C+S+V+Z"&amp;nbsp; Then Output = "CLAY, SILT, SAND AND GRAVEL" End If&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; I always get syntax errors.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A student with about 10,000 rows of data to process so any help appreciated&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Sep 2014 10:04:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hi-first-time-here-query-on-160-field-calculator/m-p/319986#M24860</guid>
      <dc:creator>daveDurkin</dc:creator>
      <dc:date>2014-09-28T10:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Hi first time here - query on  field calculator</title>
      <link>https://community.esri.com/t5/python-questions/hi-first-time-here-query-on-160-field-calculator/m-p/319987#M24861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To make that expression work as a single line if statement it has to be written:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px;"&gt;If [RCS_X] = "C+S+V+Z" Then "CLAY, SILT, SAND AND GRAVEL" Else [&lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px;"&gt;Geology1&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px;"&gt;The Field Calculator requires a value for every record, including the records that do not meet the condition.&amp;nbsp; This will use the current contents of Geology1 for any record that does not contain "C+S+V+Z".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px;"&gt;However, if these are all of the letters you translate and all combinations of these letters are possible you could write an advanced statement like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px;"&gt;Parser:&amp;nbsp; VB Script&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px;"&gt;Use Code Block:&amp;nbsp; Checked&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px;"&gt;Pre-logic Script Code:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14119217164289355 jive_text_macro" jivemacro_uid="_14119217164289355" modifiedtitle="true"&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;MyArray = Split(Temp, "+")&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Output = ""&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Name = ""&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;For i = 0 to UBound(MyArray)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp; Select Case MyArray(i)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case "C"&amp;nbsp; Name = "CLAY"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case "S"&amp;nbsp; Name = "SILT"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case "V"&amp;nbsp; Name = "SAND"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case "Z"&amp;nbsp; Name = "GRAVEL"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case Else Name = MyArray(i)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp; End Select&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp; if i = 0 Then&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Output = Name&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp; Elseif i = UBound(MyArray) Then&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Output = Output &amp;amp; " AND " &amp;amp; Name&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp; Else&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Output = Output &amp;amp; ", " &amp;amp; Name&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp; End If&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Next&lt;/SPAN&gt;&lt;/P&gt;






&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Expression:&amp;nbsp; Output&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Sep 2014 16:28:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hi-first-time-here-query-on-160-field-calculator/m-p/319987#M24861</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2014-09-28T16:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hi first time here - query on  field calculator</title>
      <link>https://community.esri.com/t5/python-questions/hi-first-time-here-query-on-160-field-calculator/m-p/319988#M24862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard&lt;/P&gt;&lt;P&gt;Thanks very much for getting back to me.&lt;/P&gt;&lt;P&gt;Having tried the one line example, I still get an 'ERROR 99999: Error executing function.&amp;nbsp; Syntax error.&amp;nbsp; Failed to execute (CalculateField).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I have it exactly as you suggest but any further advice would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.........Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Sep 2014 18:07:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hi-first-time-here-query-on-160-field-calculator/m-p/319988#M24862</guid>
      <dc:creator>daveDurkin</dc:creator>
      <dc:date>2014-09-28T18:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hi first time here - query on  field calculator</title>
      <link>https://community.esri.com/t5/python-questions/hi-first-time-here-query-on-160-field-calculator/m-p/319989#M24863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;o    Hi Richard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much for getting back to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having tried the one line example, I still get an 'ERROR 99999: Error executing function.  Syntax error.  Failed to execute (CalculateField).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I have it exactly as you suggest but any further advice would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it ok as a statement if the Geology1 field is blank (ie will it just leave it blank)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The more complex statement I’m afraid won’t work in the general sense because the format of the RCS_X field is very different in many cases. I’m expecting to run the one line statement multiple times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks.........Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Sep 2014 18:17:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hi-first-time-here-query-on-160-field-calculator/m-p/319989#M24863</guid>
      <dc:creator>daveDurkin</dc:creator>
      <dc:date>2014-09-28T18:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hi first time here - query on  field calculator</title>
      <link>https://community.esri.com/t5/python-questions/hi-first-time-here-query-on-160-field-calculator/m-p/319990#M24864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12.7272720336914px;"&gt;IT does not matter what is in Geology1, it will just stay the same unless the condition is met to do the translation.&amp;nbsp; The Field Calculator does not support the one line syntax for VB Script, u&lt;SPAN style="font-size: 12.7272720336914px;"&gt;nless someone can figure out that I made a mistake with the VB Script inline syntax shown in the &lt;/SPAN&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/5h27x7e9(v=vs.84).aspx" style="text-decoration: underline; font-size: 12.7272720336914px;"&gt;microsoft help&lt;/A&gt;.&amp;nbsp; It supports it for Python.&amp;nbsp; For Python it would be:&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px;"&gt;Parser:&amp;nbsp; Python&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px;"&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px; background-color: #f3f3f3;"&gt;"CLAY, SILT, SAND AND GRAVEL" if !RCS_X! = &lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px; background-color: #f3f3f3;"&gt;"C+S+V+Z" else &lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px; background-color: #f3f3f3;"&gt;!&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.7272720336914px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #000000; background-color: #f3f3f3;"&gt;Geology1&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px; background-color: #f3f3f3;"&gt;!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px;"&gt;For VB Script you have to use the the code block:&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px;"&gt;Parser: VB Script&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px;"&gt;Use Code Block:&amp;nbsp; Checked&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px;"&gt;Pre-Logic Code Block:&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14119546663888713 jive_text_macro" jivemacro_uid="_14119546663888713"&gt;
&lt;P style="font-size: 12.7272720336914px;"&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px; background-color: #f3f3f3;"&gt;If [RCS_X] = "C+S+V+Z" Then&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 12.7272720336914px;"&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px; background-color: #f3f3f3;"&gt;&amp;nbsp; Output&amp;nbsp; = "CLAY, SILT, SAND AND GRAVEL"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 12.7272720336914px;"&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px; background-color: #f3f3f3;"&gt;Else&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 12.7272720336914px;"&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px; background-color: #f3f3f3;"&gt;&amp;nbsp; Output = [&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.7272720336914px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #000000; background-color: #f3f3f3;"&gt;Geology1&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px; background-color: #f3f3f3;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 12.7272720336914px;"&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px; background-color: #f3f3f3;"&gt;End If&lt;/SPAN&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P style="font-size: 12.7272720336914px;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px;"&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px; background-color: #f3f3f3;"&gt;Expression:&amp;nbsp; Output&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px;"&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px; background-color: #f3f3f3;"&gt;If you have problems look at &lt;A _jive_internal="true" href="https://community.esri.com/message/344098?sr=search&amp;amp;searchId=fa2fc927-8af8-4a5f-9e34-75fe33f8e7bb&amp;amp;searchIndex=0#344098"&gt;this post&lt;/A&gt; where this was discussed previously.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 01:43:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hi-first-time-here-query-on-160-field-calculator/m-p/319990#M24864</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2014-09-29T01:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hi first time here - query on  field calculator</title>
      <link>https://community.esri.com/t5/python-questions/hi-first-time-here-query-on-160-field-calculator/m-p/319991#M24865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After thinking about your problem you are approaching it in a wasteful way.&amp;nbsp; You should run the Summary Statistics tool on the table with the &lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px; background-color: #f3f3f3;"&gt;RCS_X field as the unique case field (right click the &lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px; background-color: #f3f3f3;"&gt;RCS_X field header and select Summarize...).&amp;nbsp; Do any summary, for example First for Geology1.&amp;nbsp; If you output to a file geodatabase you can rename the field called First_Geology1 to just Geology1 in the ArcCatalog properties or just leave it.&amp;nbsp; (If you output to dBase the field will be trucated and I don't use those tables, so you have to deal with the output field name if you do).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12.7272720336914px; background-color: #f3f3f3; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Then type all of the conversion values into the output table into the First_Geology1 (or Geology1 or whatever field) in an Editor session.&amp;nbsp; After stopping the Editor, you can join the summary table on the &lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 12.7272720336914px; background-color: #f3f3f3;"&gt;RCS_X field to the original feature class and use the field calculator to transfer the new field values you typed, i.e. [Sum_Output.First_Geology1] by calculating those values over.&amp;nbsp; When doing the join add the Field Index when prompted.&amp;nbsp; This will save you having to retype the formula over and over for each value in the table for each separate run of the field calculator and you won't have to add quotes or anything around the old or new values.&amp;nbsp; Just type the new values one time into the table and calculate once.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 09:53:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hi-first-time-here-query-on-160-field-calculator/m-p/319991#M24865</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2014-09-29T09:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hi first time here - query on  field calculator</title>
      <link>https://community.esri.com/t5/python-questions/hi-first-time-here-query-on-160-field-calculator/m-p/319992#M24866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Richard - much appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 23:04:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hi-first-time-here-query-on-160-field-calculator/m-p/319992#M24866</guid>
      <dc:creator>daveDurkin</dc:creator>
      <dc:date>2014-09-29T23:04:20Z</dc:date>
    </item>
  </channel>
</rss>

