<?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: Invalid Calculate for the bind... error in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/invalid-calculate-for-the-bind-error/m-p/1679283#M65251</link>
    <description>&lt;P&gt;I agree that the error is probably with the original calculation which is:&lt;/P&gt;&lt;P&gt;if(string-length(string(${p_stependdate})) &amp;gt; 0, 1, 0)&lt;/P&gt;&lt;P&gt;From what I have been able to find in the documentation, this should grab the date, convert to string, and check if the string length is greater than 0 and return 1 for yes and 0 for no. Am I missing something in the above calc?&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;--gary&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jan 2026 14:32:44 GMT</pubDate>
    <dc:creator>GaryBowles1</dc:creator>
    <dc:date>2026-01-22T14:32:44Z</dc:date>
    <item>
      <title>Invalid Calculate for the bind... error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/invalid-calculate-for-the-bind-error/m-p/1679264#M65246</link>
      <description>&lt;P&gt;I am trying to count records in a repeat and display the count outside of the repeat. I have one calculation and display that is working fine but I am receiving an error for the 2nd and 3rd calculations. I have attached screen grabs of the xlsx form and the error in Connect. The Esri::bind field is set to int. Any help is appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;--gary&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 13:49:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/invalid-calculate-for-the-bind-error/m-p/1679264#M65246</guid>
      <dc:creator>GaryBowles1</dc:creator>
      <dc:date>2026-01-22T13:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Calculate for the bind... error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/invalid-calculate-for-the-bind-error/m-p/1679274#M65247</link>
      <description>&lt;P&gt;Try setting the bind:type to int.&lt;/P&gt;&lt;P&gt;That should work, but you can always call it a number in the calculation if it doesn't for some reason: sum(number(${countstepscomplete}))&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Neal_t_k_0-1769093618337.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/147105iBC46BC1D44085C66/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Neal_t_k_0-1769093618337.png" alt="Neal_t_k_0-1769093618337.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 14:53:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/invalid-calculate-for-the-bind-error/m-p/1679274#M65247</guid>
      <dc:creator>Neal_t_k</dc:creator>
      <dc:date>2026-01-22T14:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Calculate for the bind... error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/invalid-calculate-for-the-bind-error/m-p/1679276#M65249</link>
      <description>&lt;P&gt;Not exactly sure of everything you're looking for here, but the problem is likely in just the first calculation, which affects the second. Don't have time right now to look deeper into it, but it's probably where you try to convert a date to string. Dates behind the scene are stored as long numbers, either the seconds or minutes past a certain date, such as 01-01-1900. They're then (hopefully) formatted to display a certain way.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 14:17:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/invalid-calculate-for-the-bind-error/m-p/1679276#M65249</guid>
      <dc:creator>ZenMasterZeke</dc:creator>
      <dc:date>2026-01-22T14:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Calculate for the bind... error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/invalid-calculate-for-the-bind-error/m-p/1679283#M65251</link>
      <description>&lt;P&gt;I agree that the error is probably with the original calculation which is:&lt;/P&gt;&lt;P&gt;if(string-length(string(${p_stependdate})) &amp;gt; 0, 1, 0)&lt;/P&gt;&lt;P&gt;From what I have been able to find in the documentation, this should grab the date, convert to string, and check if the string length is greater than 0 and return 1 for yes and 0 for no. Am I missing something in the above calc?&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;--gary&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 14:32:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/invalid-calculate-for-the-bind-error/m-p/1679283#M65251</guid>
      <dc:creator>GaryBowles1</dc:creator>
      <dc:date>2026-01-22T14:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Calculate for the bind... error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/invalid-calculate-for-the-bind-error/m-p/1679288#M65253</link>
      <description>&lt;P&gt;The bind::type is set to int. I tried the sum(number($(countstepscomplete})) and sum(int($(countstepscomplete})) still not love.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;--gary&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 15:01:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/invalid-calculate-for-the-bind-error/m-p/1679288#M65253</guid>
      <dc:creator>GaryBowles1</dc:creator>
      <dc:date>2026-01-22T15:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Calculate for the bind... error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/invalid-calculate-for-the-bind-error/m-p/1679290#M65254</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/286635"&gt;@GaryBowles1&lt;/a&gt;&amp;nbsp;In the screenshot, you attached to your original you are missing a "{" in your sum calculation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Neal_t_k_0-1769094523474.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/147106iC4E9E320D8A7086A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Neal_t_k_0-1769094523474.png" alt="Neal_t_k_0-1769094523474.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Edit: Also in the ones above you have "(" instead of "{"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 15:10:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/invalid-calculate-for-the-bind-error/m-p/1679290#M65254</guid>
      <dc:creator>Neal_t_k</dc:creator>
      <dc:date>2026-01-22T15:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Calculate for the bind... error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/invalid-calculate-for-the-bind-error/m-p/1679291#M65255</link>
      <description>&lt;P&gt;Can't see the forest for the trees. You stare at something that you think should work and can't find the simplest error. That solved the problem. Much appreciated.&lt;/P&gt;&lt;P&gt;--gary&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 15:11:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/invalid-calculate-for-the-bind-error/m-p/1679291#M65255</guid>
      <dc:creator>GaryBowles1</dc:creator>
      <dc:date>2026-01-22T15:11:40Z</dc:date>
    </item>
  </channel>
</rss>

