<?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: Help in Always one selected value in list box. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316888#M116922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I changed the macro a little bit. &lt;/P&gt;&lt;P&gt;Hope it helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 May 2011 02:20:30 GMT</pubDate>
    <dc:creator>erichshiino</dc:creator>
    <dc:date>2011-05-23T02:20:30Z</dc:date>
    <item>
      <title>Help in Always one selected value in list box.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316879#M116913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a list box with field being given in variable and used in list box through expression .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As, i use the field through expression the feature always select one value Option get disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, is there is any way how to always select any one value while the data in list box is in Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest any answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pranav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 11:58:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316879#M116913</guid>
      <dc:creator />
      <dc:date>2011-05-20T11:58:15Z</dc:date>
    </item>
    <item>
      <title>Help in Always one selected value in list box.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316880#M116914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;From the help: &lt;/P&gt;&lt;P&gt;Always one selected: &lt;/P&gt;&lt;P&gt;Checking this option assures that one value will always be selected, which is useful in documents where the data only makes sense when one value is already selected, such as one currency rate etc. This option is enabled after one value is already selected in the list box. &lt;STRONG&gt;This option is not available for calculated fields.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, it will not be possible, you should create a regular field on script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 12:10:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316880#M116914</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-05-20T12:10:46Z</dc:date>
    </item>
    <item>
      <title>Help in Always one selected value in list box.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316881#M116915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Erich &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can we do anything through writing macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please help me to write a macro to select one value when the sheet is launched.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pranav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 12:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316881#M116915</guid>
      <dc:creator />
      <dc:date>2011-05-20T12:15:08Z</dc:date>
    </item>
    <item>
      <title>Help in Always one selected value in list box.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316882#M116916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the content of your variable? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 12:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316882#M116916</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-05-20T12:27:36Z</dc:date>
    </item>
    <item>
      <title>Help in Always one selected value in list box.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316883#M116917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Contents are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.CountryName&lt;/P&gt;&lt;P&gt;2.PortPair&lt;/P&gt;&lt;P&gt;3.CustomerName&lt;/P&gt;&lt;P&gt;4.CarrierName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This all feilds are put in a variable Table1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and that variable i am using in List box through expression as $(Table1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try whether we can do it throuogh Macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pranav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 12:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316883#M116917</guid>
      <dc:creator />
      <dc:date>2011-05-20T12:32:09Z</dc:date>
    </item>
    <item>
      <title>Help in Always one selected value in list box.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316884#M116918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What behavior do you expect? Because I think I should make one selection to each one of these fields and make them always one selected value, but would this make sense? &lt;/P&gt;&lt;P&gt;Should this happen onOpen or when the variable change? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which value should be selected? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 12:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316884#M116918</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-05-20T12:47:10Z</dc:date>
    </item>
    <item>
      <title>Help in Always one selected value in list box.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316885#M116919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes i want it to happen on open of the sheet the first variable first value to be selected. rest didnt bother user can select&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pranav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 12:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316885#M116919</guid>
      <dc:creator />
      <dc:date>2011-05-20T12:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Always one selected value in list box.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316886#M116920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, You can use a code like this: &lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;SUB SELECT_ONE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set v = ActiveDocument.Variables("Table1")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; field = v.GetContent.String&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; selection = activedocument.Evaluate("MINSTRING({1}" &amp;amp; field &amp;amp; " )")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.Fields(field).Select selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END SUB&lt;/P&gt;&lt;/PRE&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You associate this with the onOpen trigger. &lt;/P&gt;&lt;P&gt;you can try it on the attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 16:32:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316886#M116920</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-05-20T16:32:15Z</dc:date>
    </item>
    <item>
      <title>Help in Always one selected value in list box.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316887#M116921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok can you tell me how to clear it as the field changes the old selected field should get clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pranav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 May 2011 03:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316887#M116921</guid>
      <dc:creator />
      <dc:date>2011-05-21T03:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Always one selected value in list box.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316888#M116922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I changed the macro a little bit. &lt;/P&gt;&lt;P&gt;Hope it helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 02:20:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316888#M116922</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-05-23T02:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Always one selected value in list box.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316889#M116923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;Is there any way we can enable always one selected option for calculated fields in list box?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 07:32:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Always-one-selected-value-in-list-box/m-p/316889#M116923</guid>
      <dc:creator />
      <dc:date>2014-10-16T07:32:19Z</dc:date>
    </item>
  </channel>
</rss>

