<?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: Calculating sequential numbers after text for point layer in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/calculating-sequential-numbers-after-text-for/m-p/207684#M2196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan, thank you for replying. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was a process that I attempted earlier, to no avail unfortunately. I simply get the message, "There was a failure during processing, check the Geoprocessing Results window for details". I have attached the results in case that helps. It would appear that it is having an issue with trying to concatenate a string and a number attribute? at least, this is what Error 000539 means.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;. &lt;IMG alt="Error_geoprocessing.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/182509_Error_geoprocessing.jpg" style="width: 620px; height: 237px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Feb 2016 01:51:23 GMT</pubDate>
    <dc:creator>JessicaBlackman</dc:creator>
    <dc:date>2016-02-16T01:51:23Z</dc:date>
    <item>
      <title>Calculating sequential numbers after text for point layer</title>
      <link>https://community.esri.com/t5/mapping-questions/calculating-sequential-numbers-after-text-for/m-p/207682#M2194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am hoping somebody is able to help me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I manage several point feature classes that relate to heritage sites in NSW. Each of these sites is also attributed a state identifying number as they are registered with the government. I am hoping to simplify the editing process by running a field calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The feature class contains a UNIQUE_ID (type: double) attribute, as well as a LEASE (Type: string) attribute, and these two values together comprise the same information reflected in the third attribute, called SITE_NAME, which represents the state registered site name. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UNIQUE_ID: 100&lt;/P&gt;&lt;P&gt;LEASE: MTP&lt;/P&gt;&lt;P&gt;SITE_NAME: MTP-100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would have thought it'd be simple to generate a field calculator for SITE_NAME by combining UNIQUE_ID and LEASE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SITE_NAME =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[LEASE] + [UNIQUE_ID]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this would eliminate the need to generate code to add numbers on to each entry etc., as the site name number directly reflects the UNIQUE_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I have run multiple calculations with different inputs and each time it fails. Can anybody suggest what I am doing wrong? I am absolutely terrible at using Python so I was hoping I could use VBScript for this, but I'll take what I can get.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jess&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 01:06:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/calculating-sequential-numbers-after-text-for/m-p/207682#M2194</guid>
      <dc:creator>JessicaBlackman</dc:creator>
      <dc:date>2016-02-16T01:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating sequential numbers after text for point layer</title>
      <link>https://community.esri.com/t5/mapping-questions/calculating-sequential-numbers-after-text-for/m-p/207683#M2195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Python parser... no code block&lt;/P&gt;&lt;P&gt;!LEASE! + "-" +&amp;nbsp; !UNIQUE_ID!&lt;/P&gt;&lt;P&gt;Obviously, has to go in a text field of an appropriate length&lt;/P&gt;&lt;P&gt;Make that field active, and ensure that the fields are exactly as they appear in the table.&lt;/P&gt;&lt;P&gt;The wise person, doesn't type in the field names, but selects them from the list of fields.&amp;nbsp; If the correct python parser is chosen, the the ! marks will appear around the field.&amp;nbsp; The + is used to concatenate elements together.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 01:27:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/calculating-sequential-numbers-after-text-for/m-p/207683#M2195</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-02-16T01:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating sequential numbers after text for point layer</title>
      <link>https://community.esri.com/t5/mapping-questions/calculating-sequential-numbers-after-text-for/m-p/207684#M2196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan, thank you for replying. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was a process that I attempted earlier, to no avail unfortunately. I simply get the message, "There was a failure during processing, check the Geoprocessing Results window for details". I have attached the results in case that helps. It would appear that it is having an issue with trying to concatenate a string and a number attribute? at least, this is what Error 000539 means.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;. &lt;IMG alt="Error_geoprocessing.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/182509_Error_geoprocessing.jpg" style="width: 620px; height: 237px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 01:51:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/calculating-sequential-numbers-after-text-for/m-p/207684#M2196</guid>
      <dc:creator>JessicaBlackman</dc:creator>
      <dc:date>2016-02-16T01:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating sequential numbers after text for point layer</title>
      <link>https://community.esri.com/t5/mapping-questions/calculating-sequential-numbers-after-text-for/m-p/207685#M2197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you'll need to cast the unique id to a string&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;!LEASE! + "-" +&amp;nbsp; str(!UNIQUE_ID!)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 01:54:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/calculating-sequential-numbers-after-text-for/m-p/207685#M2197</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-02-16T01:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating sequential numbers after text for point layer</title>
      <link>https://community.esri.com/t5/mapping-questions/calculating-sequential-numbers-after-text-for/m-p/207686#M2198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Wes! that worked! Although it gave the SITE_NAME decimal points, i.e. MTP-100.0, MTP-101.0. Is there any way to prevent it displaying as decimal points? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, I am very happy- thank you so much! &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, 16 Feb 2016 02:07:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/calculating-sequential-numbers-after-text-for/m-p/207686#M2198</guid>
      <dc:creator>JessicaBlackman</dc:creator>
      <dc:date>2016-02-16T02:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating sequential numbers after text for point layer</title>
      <link>https://community.esri.com/t5/mapping-questions/calculating-sequential-numbers-after-text-for/m-p/207687#M2199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Try this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;!LEASE! + "-" +&amp;nbsp; str(int(!UNIQUE_ID!))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 02:09:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/calculating-sequential-numbers-after-text-for/m-p/207687#M2199</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-02-16T02:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating sequential numbers after text for point layer</title>
      <link>https://community.esri.com/t5/mapping-questions/calculating-sequential-numbers-after-text-for/m-p/207688#M2200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Champion- that worked perfectly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all so much, you have really helped me out!! &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, 16 Feb 2016 02:16:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/calculating-sequential-numbers-after-text-for/m-p/207688#M2200</guid>
      <dc:creator>JessicaBlackman</dc:creator>
      <dc:date>2016-02-16T02:16:35Z</dc:date>
    </item>
  </channel>
</rss>

