<?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 Conditionally Clear list Box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditionally-Clear-list-Box/m-p/196586#M56592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a macro that will fire when there is a change to the Year field. On the Trigger tab under Document Properties, you want to add a macro for the OnChange of the Year field. I'd also set up a variable (vYear) with the formula:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=GetSelectedCount(Year)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;For the macro, use something like:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If ActiveDocument.Variables("vYear").GetContent.String&amp;gt;0 Then&lt;BR /&gt;ActiveDocument.Fields("Month").Clear&lt;BR /&gt;End If&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Sep 2009 20:46:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-09-23T20:46:40Z</dc:date>
    <item>
      <title>Conditionally Clear list Box</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-Clear-list-Box/m-p/196585#M56591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There&lt;/P&gt;&lt;P&gt;I have a basic year and month list boxes, i want to clear the month list box if there is no year selected, how can i do this ?&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 20:36:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-Clear-list-Box/m-p/196585#M56591</guid>
      <dc:creator />
      <dc:date>2009-09-23T20:36:24Z</dc:date>
    </item>
    <item>
      <title>Conditionally Clear list Box</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-Clear-list-Box/m-p/196586#M56592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a macro that will fire when there is a change to the Year field. On the Trigger tab under Document Properties, you want to add a macro for the OnChange of the Year field. I'd also set up a variable (vYear) with the formula:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=GetSelectedCount(Year)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;For the macro, use something like:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If ActiveDocument.Variables("vYear").GetContent.String&amp;gt;0 Then&lt;BR /&gt;ActiveDocument.Fields("Month").Clear&lt;BR /&gt;End If&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 20:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-Clear-list-Box/m-p/196586#M56592</guid>
      <dc:creator />
      <dc:date>2009-09-23T20:46:40Z</dc:date>
    </item>
    <item>
      <title>Conditionally Clear list Box</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-Clear-list-Box/m-p/196587#M56593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx NMiller and for the opther post as well &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 21:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-Clear-list-Box/m-p/196587#M56593</guid>
      <dc:creator />
      <dc:date>2009-09-23T21:20:57Z</dc:date>
    </item>
  </channel>
</rss>

