<?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 Listbox property - Always one selected value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Listbox-property-Always-one-selected-value/m-p/415273#M154487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;After reducing all data, the listbox property 'always one selectewd value' is disappering that is not good for me. May be one of you knows how to workaround this. Please see example in attachment. I need that after reducing and reloading data, this property will be check and value will be 'EUR'&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Oct 2012 14:02:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-15T14:02:26Z</dc:date>
    <item>
      <title>Listbox property - Always one selected value</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-property-Always-one-selected-value/m-p/415273#M154487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;After reducing all data, the listbox property 'always one selectewd value' is disappering that is not good for me. May be one of you knows how to workaround this. Please see example in attachment. I need that after reducing and reloading data, this property will be check and value will be 'EUR'&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 14:02:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-property-Always-one-selected-value/m-p/415273#M154487</guid>
      <dc:creator />
      <dc:date>2012-10-15T14:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox property - Always one selected value</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-property-Always-one-selected-value/m-p/415274#M154488</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;Reducing data means that you are actually removing all data (tables and fields) from the QVW document, that will affect some object properties such as this one, that needs at least one value selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is select EUR, then File, Reduce Data, Keep Possible values. That will remove some rows, but not all, so you have the listbox OK. If the document is still big, make some other selections, and follow the same "Keep possible values" steps mentioned until it reaches a reasonable size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see much sense in this, though, but the thing is that that property is not available until one value and only one value is selected. I might be worth logging a Support case to check whether or not this is the expected behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Well, I see some sense here. Always one value selected &lt;EM&gt;&lt;STRONG&gt;requires&lt;/STRONG&gt;&lt;/EM&gt; one and only one value selected. If all rows are reduced, there are &lt;EM&gt;no values&lt;/EM&gt;, therefore it's not possible to keep that property set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 14:08:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-property-Always-one-selected-value/m-p/415274#M154488</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-10-15T14:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox property - Always one selected value</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-property-Always-one-selected-value/m-p/415275#M154489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm unclear exactly what you're trying to do.&amp;nbsp; However, sometimes we've have the "always one selected value" checkbox disappear due to loading problems, where we fail to load the value we had selected.&amp;nbsp; Our workaround has been to build an OnOpen trigger to run a macro to select the value and set the property.&amp;nbsp; For instance:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;set field = ActiveDocument.Fields("Scale")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;field.Select "Linear"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;set fieldProperties = field.GetProperties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;fieldProperties.OneAndOnlyOne = true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;field.SetProperties fieldProperties&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 23:12:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-property-Always-one-selected-value/m-p/415275#M154489</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2012-10-15T23:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox property - Always one selected value</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-property-Always-one-selected-value/m-p/415276#M154490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am very curious to try this out....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 17:38:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-property-Always-one-selected-value/m-p/415276#M154490</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2016-08-11T17:38:06Z</dc:date>
    </item>
  </channel>
</rss>

