<?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: Is it possible to use a LIKE statement (or equivalent) in a choice_filter? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-use-a-like-statement-or/m-p/770423#M3624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;found this after hunting for a similar answer... Is there any plan to add support for multiple values in a filter int he future? or is there any comparable work-around? I have a similar but more complex system that would be very straightforward with multiple value filters, but which would need a very long and redundant list of choices to dot he same with single values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jul 2019 17:32:24 GMT</pubDate>
    <dc:creator>ByronTsang</dc:creator>
    <dc:date>2019-07-11T17:32:24Z</dc:date>
    <item>
      <title>Is it possible to use a LIKE statement (or equivalent) in a choice_filter?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-use-a-like-statement-or/m-p/770419#M3620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want the end-users to select a single&amp;nbsp;Spot Check Code (A, B, C or D).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/307203_Spot_Check_Code.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then want to use that value in something similar to a LIKE statement to extract matching records from the external_choices tab. &amp;nbsp;There are different combinations of A, B, C &amp;amp; D depending on inspection frequency for each feature, so an exact match does not work.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/307205_Spot_Check_Code2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XLSForm currently looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/307206_Spot_Check_Code3.png" style="width: 620px; height: 236px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In testing, I also noticed that using an OR operator returned no records...I expected that all records with a matching CP_System would have been returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone done something similar?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 06:03:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-use-a-like-statement-or/m-p/770419#M3620</guid>
      <dc:creator>DanJoyce1</dc:creator>
      <dc:date>2017-01-23T06:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a LIKE statement (or equivalent) in a choice_filter?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-use-a-like-statement-or/m-p/770420#M3621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are the commas if the Spot_Check field potentially messing things up?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 06:21:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-use-a-like-statement-or/m-p/770420#M3621</guid>
      <dc:creator>DanJoyce1</dc:creator>
      <dc:date>2017-01-23T06:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a LIKE statement (or equivalent) in a choice_filter?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-use-a-like-statement-or/m-p/770421#M3622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Survey123 doesn't support multiple values in a filter - you would need to create a listing of CPTP_Name and individual spot_checks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the or, try 'or' lowercase - that works for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 17:34:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-use-a-like-statement-or/m-p/770421#M3622</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-01-23T17:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a LIKE statement (or equivalent) in a choice_filter?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-use-a-like-statement-or/m-p/770422#M3623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks James. &amp;nbsp;Are there any plans to add more advanced filtering options or is it a limitation of the XLSForm?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had tried 'or' as lower case but it returned no records. &amp;nbsp;Will a null entry in one (or both) of the fields I'm filtering on upset the filter? &amp;nbsp;Do I need to change null entries to some default value like 'NaN' or -999?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 23:03:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-use-a-like-statement-or/m-p/770422#M3623</guid>
      <dc:creator>DanJoyce1</dc:creator>
      <dc:date>2017-01-23T23:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a LIKE statement (or equivalent) in a choice_filter?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-use-a-like-statement-or/m-p/770423#M3624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;found this after hunting for a similar answer... Is there any plan to add support for multiple values in a filter int he future? or is there any comparable work-around? I have a similar but more complex system that would be very straightforward with multiple value filters, but which would need a very long and redundant list of choices to dot he same with single values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 17:32:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-use-a-like-statement-or/m-p/770423#M3624</guid>
      <dc:creator>ByronTsang</dc:creator>
      <dc:date>2019-07-11T17:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a LIKE statement (or equivalent) in a choice_filter?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-use-a-like-statement-or/m-p/770424#M3625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do this on my choice filters just fine.&amp;nbsp; Maybe I am reading the question wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type=${woody} or Type=${none} or Type =${unknown} &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 19:08:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-use-a-like-statement-or/m-p/770424#M3625</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-07-11T19:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a LIKE statement (or equivalent) in a choice_filter?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-use-a-like-statement-or/m-p/770425#M3626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;actually i'm trying to go the other way around. I want a single choice in my choice list to be available for any of several responses to a single question, as opposed to matching responses to several questions. I believe this is what Dan was going for in the example above with the Spot_check column in his choices list with some choices matching to multiple different possible&amp;nbsp;responses to the CP_system question (A, B, C, or D).&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 20:11:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-use-a-like-statement-or/m-p/770425#M3626</guid>
      <dc:creator>ByronTsang</dc:creator>
      <dc:date>2019-07-11T20:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a LIKE statement (or equivalent) in a choice_filter?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-use-a-like-statement-or/m-p/770426#M3627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yea i am just saying it may be clunky but it can be done.&amp;nbsp; Just have one column per choice with a Yes/No is really not too bad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My fear is even if contains worked it would be too slow.&amp;nbsp; I found that each or statement I added to my choice filter added a full second on to my repeat load time!&amp;nbsp; I spent a lot of time trying ways to make this faster and this is what I came to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 20:20:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/is-it-possible-to-use-a-like-statement-or/m-p/770426#M3627</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-07-11T20:20:36Z</dc:date>
    </item>
  </channel>
</rss>

