<?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: How to force consistent output from GetFieldSelections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-force-consistent-output-from-GetFieldSelections/m-p/244197#M93167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, case of RTFM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; GetFieldSelections(fieldname [, valuesep [&lt;SPAN style="color: #ff0000;"&gt;, maxvalues=6&lt;/SPAN&gt;]])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jan 2012 10:28:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-01-02T10:28:42Z</dc:date>
    <item>
      <title>How to force consistent output from GetFieldSelections</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-force-consistent-output-from-GetFieldSelections/m-p/244196#M93166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following script creates a list from 1 to 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; [selection]:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo()&amp;nbsp;&amp;nbsp;&amp;nbsp; as no&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; AutoGenerate (10);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a variable to hold the selectio(s) from this list&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; vSelected = GetFieldSelections(no, ',')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I select 1 to 6, vSelected = 1,2,3,4,5,6&lt;/P&gt;&lt;P&gt;When I select 1 to 7, vSelected = NOT 8,9,10&lt;/P&gt;&lt;P&gt;When I select 1 to 10, vSelected = All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is correct but gives me problems when I use the Index() function.&lt;/P&gt;&lt;P&gt;Is there a possiblility to always get a list of the selected numbers ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Auke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2012 09:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-force-consistent-output-from-GetFieldSelections/m-p/244196#M93166</guid>
      <dc:creator />
      <dc:date>2012-01-02T09:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to force consistent output from GetFieldSelections</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-force-consistent-output-from-GetFieldSelections/m-p/244197#M93167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, case of RTFM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; GetFieldSelections(fieldname [, valuesep [&lt;SPAN style="color: #ff0000;"&gt;, maxvalues=6&lt;/SPAN&gt;]])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2012 10:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-force-consistent-output-from-GetFieldSelections/m-p/244197#M93167</guid>
      <dc:creator />
      <dc:date>2012-01-02T10:28:42Z</dc:date>
    </item>
  </channel>
</rss>

