<?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: 10.3 Labeling in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435967#M4746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the same parser but get&lt;/P&gt;&lt;P&gt;'Carriage returns are not allowed in simple expressions.'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Apr 2016 18:31:03 GMT</pubDate>
    <dc:creator>MikeFroese</dc:creator>
    <dc:date>2016-04-12T18:31:03Z</dc:date>
    <item>
      <title>10.3 Labeling</title>
      <link>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435964#M4743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a label expression where I want to not display any building numbers greater than 1000. We went from 10.0 to 10.3. The script worked in 10.0 but not 10.3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 12pt;"&gt;Function FindLabel ( [buildingNumber] )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 12pt;"&gt; if ( [buildingNumber] &amp;lt; 1000) then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 12pt;"&gt;FindLabel = [buildingNumber]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 12pt;"&gt;end if&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 12pt;"&gt;End Function&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 12pt;"&gt;Thanks for any help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 12pt;"&gt;Mike&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 14:26:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435964#M4743</guid>
      <dc:creator>MikeFroese</dc:creator>
      <dc:date>2016-04-12T14:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: 10.3 Labeling</title>
      <link>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435965#M4744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What sort of side effects are you getting?&amp;nbsp; Is Building Number a number or a string that represents a number?&amp;nbsp; There appears to be nothing wrong with your expression.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running 10.4&amp;nbsp; and had a label script similar to yours and it runs with no problems except that the number is a string number so I had to convert the string to a number......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Function FindLabel ( [MDXID] )
if&amp;nbsp; Int([MDXID]) &amp;lt; 140 then
 FindLabel = [MDXID]
end if
End Function&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:32:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435965#M4744</guid>
      <dc:creator>TedKowal</dc:creator>
      <dc:date>2021-12-11T19:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: 10.3 Labeling</title>
      <link>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435966#M4745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike, can you make sure you are still using the same Parser to carry out this expression? It looks like this is for the VBScript Parser. It might be a good idea to make sure this is still the case. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 14:51:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435966#M4745</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-04-12T14:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: 10.3 Labeling</title>
      <link>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435967#M4746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the same parser but get&lt;/P&gt;&lt;P&gt;'Carriage returns are not allowed in simple expressions.'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 18:31:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435967#M4746</guid>
      <dc:creator>MikeFroese</dc:creator>
      <dc:date>2016-04-12T18:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: 10.3 Labeling</title>
      <link>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435968#M4747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the same parser but get&lt;/P&gt;&lt;P&gt; 'Carriage returns are not allowed in simple expressions.'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 18:34:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435968#M4747</guid>
      <dc:creator>MikeFroese</dc:creator>
      <dc:date>2016-04-12T18:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: 10.3 Labeling</title>
      <link>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435969#M4748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the same parser but get&lt;/P&gt;&lt;P&gt; 'Carriage returns are not allowed in simple expressions.'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 18:34:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435969#M4748</guid>
      <dc:creator>MikeFroese</dc:creator>
      <dc:date>2016-04-12T18:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: 10.3 Labeling</title>
      <link>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435970#M4749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be sure the check the box for "Advanced" in the expression dialog:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/194611_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 18:38:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435970#M4749</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-04-12T18:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: 10.3 Labeling</title>
      <link>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435971#M4750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm at 10.2.2, but I get your error if I try to use the expression without Advanced selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/194670_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 18:38:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435971#M4750</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2016-04-12T18:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: 10.3 Labeling</title>
      <link>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435972#M4751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WOW! Do I feel dumb! &lt;/P&gt;&lt;P&gt;I completely overlooked the check box!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 19:00:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435972#M4751</guid>
      <dc:creator>MikeFroese</dc:creator>
      <dc:date>2016-04-12T19:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: 10.3 Labeling</title>
      <link>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435973#M4752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WOW! Do I feel dumb! &lt;/P&gt;&lt;P&gt;I completely overlooked the check box!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 19:00:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435973#M4752</guid>
      <dc:creator>MikeFroese</dc:creator>
      <dc:date>2016-04-12T19:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: 10.3 Labeling</title>
      <link>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435974#M4753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad that it was an easy solution!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you change this thread from a 'discussion' to a 'question' you then have the ability to mark one of these answers as 'correct'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 19:51:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/10-3-labeling/m-p/435974#M4753</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-04-12T19:51:32Z</dc:date>
    </item>
  </channel>
</rss>

