<?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 Clear Multibox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Clear-Multibox/m-p/321797#M1185081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been trying to Clear values from a Multi Box with a Macro. I can't use the Clear All function as I only want to clear some values contained in the Multibox.&lt;/P&gt;&lt;P&gt;I tried the following code but it only works on List boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;public function clearCycle()&lt;/P&gt;&lt;P&gt;set mb = ActiveDocument.GetSheetObject("MB07")&lt;/P&gt;&lt;P&gt;mb.Clear&lt;/P&gt;&lt;P&gt;end function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Is there anyway to achieve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2011 18:23:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-15T18:23:28Z</dc:date>
    <item>
      <title>Clear Multibox</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Multibox/m-p/321797#M1185081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been trying to Clear values from a Multi Box with a Macro. I can't use the Clear All function as I only want to clear some values contained in the Multibox.&lt;/P&gt;&lt;P&gt;I tried the following code but it only works on List boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;public function clearCycle()&lt;/P&gt;&lt;P&gt;set mb = ActiveDocument.GetSheetObject("MB07")&lt;/P&gt;&lt;P&gt;mb.Clear&lt;/P&gt;&lt;P&gt;end function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Is there anyway to achieve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 18:23:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Multibox/m-p/321797#M1185081</guid>
      <dc:creator />
      <dc:date>2011-11-15T18:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Clear Multibox</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Multibox/m-p/321798#M1185082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Hi &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/luigicanu" id="jive-705419962892155598595"&gt;Luis Cazares lcazares&lt;/A&gt;,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;You can't use the Clear Method to clear the selections in ListBox. This is because you can only use this method to clear the ListBox and Field. However, MultiBox is a logical object and works at the presentation layer. So you need to use the ClearMemberFields Method. Here is the code...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Sub Clear_MultiBox_Fields()&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.GetSheetObject("MB01").ClearMemberFields&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;End Sub&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;In the above code ClearMemberFields checks the Fields which are used in the MultiBox ("MB01") and then it clears the selections only for this MultiBox.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;I hope this helps!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Cheers - DV&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 12:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Multibox/m-p/321798#M1185082</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-11-17T12:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Clear Multibox</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Multibox/m-p/321799#M1185083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use below code in control+M&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sub clearCycle()&lt;BR /&gt;&lt;BR /&gt;set mb = ActiveDocument.GetSheetObject("MB07")&lt;BR /&gt;&lt;BR /&gt;mb.ClearMemberFields&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;end sub &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;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;see the attached file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select one item in multibox and then click on button&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;hope this help&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;&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;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 13:39:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Multibox/m-p/321799#M1185083</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-11-17T13:39:10Z</dc:date>
    </item>
    <item>
      <title>Clear Multibox</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Multibox/m-p/321800#M1185085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to both of you, it worked perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 16:53:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Multibox/m-p/321800#M1185085</guid>
      <dc:creator />
      <dc:date>2011-11-17T16:53:27Z</dc:date>
    </item>
  </channel>
</rss>

