<?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 String or binary data would be truncated Error in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/string-or-binary-data-would-be-truncated-error/m-p/1667303#M64816</link>
    <description>&lt;P&gt;I am getting an error when trying to submit a survey via Survey123. The error reads " String or binary data would be truncated in table." It is a hidden text field in the survey that is populated by a calculation. The field length should be more than adequate so I can't figure out what is causing the error. I have attached a screenshot of the error and the xlsx file. Any assistance would be greatly appreciated!&lt;/P&gt;</description>
    <pubDate>Wed, 19 Nov 2025 20:06:06 GMT</pubDate>
    <dc:creator>PlANNADMIN</dc:creator>
    <dc:date>2025-11-19T20:06:06Z</dc:date>
    <item>
      <title>String or binary data would be truncated Error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/string-or-binary-data-would-be-truncated-error/m-p/1667303#M64816</link>
      <description>&lt;P&gt;I am getting an error when trying to submit a survey via Survey123. The error reads " String or binary data would be truncated in table." It is a hidden text field in the survey that is populated by a calculation. The field length should be more than adequate so I can't figure out what is causing the error. I have attached a screenshot of the error and the xlsx file. Any assistance would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 20:06:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/string-or-binary-data-would-be-truncated-error/m-p/1667303#M64816</guid>
      <dc:creator>PlANNADMIN</dc:creator>
      <dc:date>2025-11-19T20:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: String or binary data would be truncated Error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/string-or-binary-data-would-be-truncated-error/m-p/1667315#M64817</link>
      <description>&lt;P&gt;Thats a giant calculation!&amp;nbsp; &amp;nbsp;But it appears to have some syntax errors,&amp;nbsp; I threw your xlsx in Connect, unhid all the fields and received this, which looks bigger than your field length:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Neal_t_k_0-1763584944358.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/144152i7BD8F1808C944201/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Neal_t_k_0-1763584944358.png" alt="Neal_t_k_0-1763584944358.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 20:43:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/string-or-binary-data-would-be-truncated-error/m-p/1667315#M64817</guid>
      <dc:creator>Neal_t_k</dc:creator>
      <dc:date>2025-11-19T20:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: String or binary data would be truncated Error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/string-or-binary-data-would-be-truncated-error/m-p/1667345#M64818</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/494398"&gt;@PlANNADMIN&lt;/a&gt;&amp;nbsp; You need to add some parenthesis to to separate/group your and "and" and "or" statements. Separating them out helps keep track of where you are when you get that complicated of an if statement.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;if(((${service_required} = 'Water' and string-length(${service_installation}) &amp;gt; 0) or(${service_required} = 'E and W' and string-length(${service_installation}) &amp;gt; 0 and string-length(${connection_date}) &amp;gt; 0)),'Completed',
  
if(((${service_required} = 'Water' and string-length(${installation_complete}) &amp;gt; 0 and string-length(${service_installation}) = 0) or(${service_required} = 'E and W' and string-length(${installation_complete}) &amp;gt; 0 and string-length(${service_installation}) = 0 and string-length(${job_end}) &amp;gt; 0)),'Completed_TD',

if(((${service_required} = 'E and W' and string-length(${scheduled_start}) &amp;gt; 0 and string-length(${installation_complete}) = 0 and string-length(${inspection}) = 0) or (${service_required} = 'E and W' and string-length(${installation_complete}) &amp;gt; 0 and string-length(${inspection}) = 0) or (${service_required} = 'E and W' and string-length(${scheduled_start}) &amp;gt; 0 and string-length(${installation_complete}) = 0 and ${inspection} = 'Failed' and ${estimate_required} = 'No') or (${service_required} = 'E and W' and string-length(${installation_complete}) &amp;gt; 0 and ${inspection} = 'Failed' and ${estimate_required} = 'No') or (${service_required} = 'E and W' and string-length(${service_installation}) &amp;gt; 0 and string-length(${inspection}) = 0) or (${service_required} = 'E and W' and string-length(${service_installation}) &amp;gt; 0 and ${inspection} = 'Failed' and ${estimate_required} = 'No')),'In_Progress',

if(((${service_required} = 'E and W' and string-length(${scheduled_start}) &amp;gt; 0 and string-length(${installation_complete}) = 0 and string-length(${inspection}) &amp;gt; 0 and ${estimate_required} = 'Yes' and string-length(${estimate_cs}) = 0) or (${service_required} = 'E and W' and string-length(${installation_complete}) &amp;gt; 0 and string-length(${inspection}) &amp;gt; 0 and ${estimate_required} = 'Yes' and string-length(${estimate_cs}) = 0) or (${service_required} = 'E and W' and string-length(${service_installation}) &amp;gt; 0 and string-length(${inspection}) &amp;gt; 0 and ${estimate_required} = 'Yes' and string-length(${estimate_cs}) = 0)),'In_Progress_Planning',

if(((${service_required} = 'E and W' and string-length(${scheduled_start}) &amp;gt; 0 and string-length(${installation_complete}) = 0 and ${estimate_required} = 'Yes' and string-length(${estimate_cs}) &amp;gt; 0 and string-length(${payment_date}) = 0) or (${service_required} = 'E and W' and string-length(${installation_complete}) &amp;gt; 0 and ${estimate_required} = 'Yes' and string-length(${estimate_cs}) &amp;gt; 0 and string-length(${payment_date}) = 0) or (${service_required} = 'E and W' and string-length(${service_installation}) &amp;gt; 0 and ${estimate_required} = 'Yes' and string-length(${estimate_cs}) &amp;gt; 0 and string-length(${payment_date}) = 0)),'In_Progress_CS','In_Progress_TD')))))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 21:17:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/string-or-binary-data-would-be-truncated-error/m-p/1667345#M64818</guid>
      <dc:creator>Neal_t_k</dc:creator>
      <dc:date>2025-11-19T21:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: String or binary data would be truncated Error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/string-or-binary-data-would-be-truncated-error/m-p/1667851#M64836</link>
      <description>&lt;P&gt;Thanks a lot for your help &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/763693"&gt;@Neal_t_k&lt;/a&gt;! The send error is resolved.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2025 13:28:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/string-or-binary-data-would-be-truncated-error/m-p/1667851#M64836</guid>
      <dc:creator>PlANNADMIN</dc:creator>
      <dc:date>2025-11-21T13:28:04Z</dc:date>
    </item>
  </channel>
</rss>

