<?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 Listed Values for Input Box Not Updating Immediately in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Listed-Values-for-Input-Box-Not-Updating-Immediately/m-p/1363316#M417577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an Input Box object whose listed values depend on another variable and I'm seeing some strange behavior when that variable changes. The list for the Input Box won't update until I &lt;EM&gt;&lt;STRONG&gt;use&lt;/STRONG&gt;&lt;/EM&gt; the list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Here are the specifics:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- I have a vLossType variable that is set by a button (toggling between three different values):&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/165270_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;- I have two other variables, vLimitList and vLimitListSR that contain slightly different lists:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/165271_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;- When vLossType = "Loss Only" the Input Box should use vLimitListSR, otherwise it should use vLimitList, so this is what my Listed Values expression looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/165275_pastedImage_4.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;- The problem is that when I use my button to switch between "Loss Only", "ALAE Only", "Loss+ALAE", if I check my Input Box dropdown in between, it continues to show what the expression's prior result was unless I &lt;STRONG&gt;&lt;EM&gt;use&lt;/EM&gt;&lt;/STRONG&gt; the Input Box (ie, select a value from the dropdown), after which the list updates to what it should be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a simple example to show what I mean. Any thoughts on how to get the Input Box to recognize the variable change immediately, without having to interact with the Input Box first? (I should also mention that a Text Box object with the exact same expression updates immediately as I toggle through the loss types, which you'll also be able to see in the attached).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be much appreciated! Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 May 2017 21:15:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-05-30T21:15:33Z</dc:date>
    <item>
      <title>Listed Values for Input Box Not Updating Immediately</title>
      <link>https://community.qlik.com/t5/QlikView/Listed-Values-for-Input-Box-Not-Updating-Immediately/m-p/1363316#M417577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an Input Box object whose listed values depend on another variable and I'm seeing some strange behavior when that variable changes. The list for the Input Box won't update until I &lt;EM&gt;&lt;STRONG&gt;use&lt;/STRONG&gt;&lt;/EM&gt; the list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Here are the specifics:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- I have a vLossType variable that is set by a button (toggling between three different values):&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/165270_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;- I have two other variables, vLimitList and vLimitListSR that contain slightly different lists:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/165271_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;- When vLossType = "Loss Only" the Input Box should use vLimitListSR, otherwise it should use vLimitList, so this is what my Listed Values expression looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/165275_pastedImage_4.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;- The problem is that when I use my button to switch between "Loss Only", "ALAE Only", "Loss+ALAE", if I check my Input Box dropdown in between, it continues to show what the expression's prior result was unless I &lt;STRONG&gt;&lt;EM&gt;use&lt;/EM&gt;&lt;/STRONG&gt; the Input Box (ie, select a value from the dropdown), after which the list updates to what it should be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a simple example to show what I mean. Any thoughts on how to get the Input Box to recognize the variable change immediately, without having to interact with the Input Box first? (I should also mention that a Text Box object with the exact same expression updates immediately as I toggle through the loss types, which you'll also be able to see in the attached).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be much appreciated! Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 21:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listed-Values-for-Input-Box-Not-Updating-Immediately/m-p/1363316#M417577</guid>
      <dc:creator />
      <dc:date>2017-05-30T21:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Listed Values for Input Box Not Updating Immediately</title>
      <link>https://community.qlik.com/t5/QlikView/Listed-Values-for-Input-Box-Not-Updating-Immediately/m-p/1363317#M417578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I came up with my own solution (though it's more of a work-around). I'm using a second Set Variable action when the loss type button is used which sets the variable that the Input Box controls. In other words, I'm immediately forcing "interaction" with the Input Box so that the dropdown list it displays will update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone knows of a more elegant solution, I'd be up for hearing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached an updated version of my example with my "solution" included in case anyone's interested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 21:41:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listed-Values-for-Input-Box-Not-Updating-Immediately/m-p/1363317#M417578</guid>
      <dc:creator />
      <dc:date>2017-05-31T21:41:11Z</dc:date>
    </item>
  </channel>
</rss>

