<?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 Multibox selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multibox-selection/m-p/205228#M501002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi XXX&lt;/P&gt;&lt;P&gt;If your MultiBox has expressions, I don't think this is possible. If you have fields, you can make selection to the fields in the multibox, you are interested in.&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;On second thought, it seems this macro from APIGuide can help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub GetSelected&lt;/P&gt;&lt;P&gt;x=ActiveDocument.GetSheetObject("MB01").GetRelevantSelections&lt;/P&gt;&lt;P&gt;for i = lbound(x) to ubound(x)&lt;/P&gt;&lt;P&gt;msgbox(x(i))&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;DIV&gt;End Sub&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Feb 2011 12:24:46 GMT</pubDate>
    <dc:creator>disqr_rm</dc:creator>
    <dc:date>2011-02-08T12:24:46Z</dc:date>
    <item>
      <title>Multibox selection</title>
      <link>https://community.qlik.com/t5/QlikView/Multibox-selection/m-p/205227#M501001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need help on macro to get specific field selected value on the multibox. Can anyone help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 12:08:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multibox-selection/m-p/205227#M501001</guid>
      <dc:creator />
      <dc:date>2011-02-08T12:08:52Z</dc:date>
    </item>
    <item>
      <title>Multibox selection</title>
      <link>https://community.qlik.com/t5/QlikView/Multibox-selection/m-p/205228#M501002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi XXX&lt;/P&gt;&lt;P&gt;If your MultiBox has expressions, I don't think this is possible. If you have fields, you can make selection to the fields in the multibox, you are interested in.&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;On second thought, it seems this macro from APIGuide can help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub GetSelected&lt;/P&gt;&lt;P&gt;x=ActiveDocument.GetSheetObject("MB01").GetRelevantSelections&lt;/P&gt;&lt;P&gt;for i = lbound(x) to ubound(x)&lt;/P&gt;&lt;P&gt;msgbox(x(i))&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;DIV&gt;End Sub&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 12:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multibox-selection/m-p/205228#M501002</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2011-02-08T12:24:46Z</dc:date>
    </item>
    <item>
      <title>Multibox selection</title>
      <link>https://community.qlik.com/t5/QlikView/Multibox-selection/m-p/205229#M501003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh,&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;The macro will return the Database field name and the value. Also output value is not the string type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 13:23:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multibox-selection/m-p/205229#M501003</guid>
      <dc:creator />
      <dc:date>2011-02-08T13:23:10Z</dc:date>
    </item>
    <item>
      <title>Multibox selection</title>
      <link>https://community.qlik.com/t5/QlikView/Multibox-selection/m-p/205230#M501004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this for just value portion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub GetS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x=ActiveDocument.GetSheetObject("MB01").GetRelevantSelections&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;for i = lbound(x) to ubound(x)&lt;/P&gt;&lt;P&gt;msgbox(trim(mid(x(i), instr(x(i), chr(9))+1, 100)))&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;Please note that there is a TAB between field name and value in the return array.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I have hard coded 100 for the value field length, but you may also use len() or some other function to be precise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 13:52:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multibox-selection/m-p/205230#M501004</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2011-02-08T13:52:35Z</dc:date>
    </item>
    <item>
      <title>Multibox selection</title>
      <link>https://community.qlik.com/t5/QlikView/Multibox-selection/m-p/205231#M501005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rakesh,&lt;/P&gt;&lt;P&gt;This is what i have done and it is working for me perfectly&lt;/P&gt;&lt;P&gt;Sub GetSelected()&lt;BR /&gt;x=ActiveDocument.GetSheetObject("MB03").GetRelevantSelections&lt;BR /&gt;Cname=x(0)&lt;BR /&gt;Cstr(Cname)&lt;BR /&gt;id=Right(Cstr(Cname),len(Cstr(Cname))-12)&lt;BR /&gt;msgbox(id)&lt;BR /&gt;End Sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 04:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multibox-selection/m-p/205231#M501005</guid>
      <dc:creator />
      <dc:date>2011-02-09T04:21:17Z</dc:date>
    </item>
  </channel>
</rss>

