<?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 Store list box selection in a variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150096#M28178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rainer ... Your solution is exactly what I am looking for...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jul 2009 16:07:37 GMT</pubDate>
    <dc:creator>pkelly</dc:creator>
    <dc:date>2009-07-23T16:07:37Z</dc:date>
    <item>
      <title>Store list box selection in a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150090#M28172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a list box and I would like to store the selected value(s) is a variable.&lt;/P&gt;&lt;P&gt;I think I have worked out how to get the value from the list box - "ProdFamily" is my list box field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;set&lt;/B&gt; prodfamilyselection=ActiveDocument.Fields("ProdFamily").GetSelectedValues &lt;P&gt;How do I store this in a variable?&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 15:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150090#M28172</guid>
      <dc:creator>pkelly</dc:creator>
      <dc:date>2009-07-23T15:04:50Z</dc:date>
    </item>
    <item>
      <title>Store list box selection in a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150091#M28173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;here you are&lt;/P&gt;&lt;P&gt;sub StoreValues&lt;BR /&gt;&lt;BR /&gt; set v = ActiveDocument.Variables("sel")&lt;BR /&gt; set doc = ActiveDocument&lt;BR /&gt; set mySelections = doc.fields("SW_Temp").GetSelectedValues&lt;BR /&gt; sel = chr(39) &amp;amp; mySelections.Item(0).text &amp;amp; chr(39)&lt;BR /&gt; for i = 1 to mySelections.Count - 1&lt;BR /&gt; sel = sel &amp;amp; chr(44) &amp;amp; chr(39) &amp;amp; mySelections.Item(i).text &amp;amp;chr(39)&lt;BR /&gt; next&lt;BR /&gt; v.SetContent sel,true&lt;BR /&gt;&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;A QV example follows in a few minutes.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 15:23:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150091#M28173</guid>
      <dc:creator />
      <dc:date>2009-07-23T15:23:31Z</dc:date>
    </item>
    <item>
      <title>Store list box selection in a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150092#M28174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;here are the application.&lt;/P&gt;&lt;P&gt;It´s not 100% perfect.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 15:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150092#M28174</guid>
      <dc:creator />
      <dc:date>2009-07-23T15:37:44Z</dc:date>
    </item>
    <item>
      <title>Store list box selection in a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150093#M28175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rainer - this is excellent and is exactly what I am looking for...&lt;/P&gt;&lt;P&gt;One quick question - in your example, how do you get the "sel" variable to update automatically when a list box selection is made?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 15:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150093#M28175</guid>
      <dc:creator>pkelly</dc:creator>
      <dc:date>2009-07-23T15:51:34Z</dc:date>
    </item>
    <item>
      <title>Store list box selection in a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150094#M28176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please remove the second macro.&lt;/P&gt;&lt;P&gt;Than the application runs without problems.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 15:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150094#M28176</guid>
      <dc:creator />
      <dc:date>2009-07-23T15:52:32Z</dc:date>
    </item>
    <item>
      <title>Store list box selection in a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150095#M28177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Document Properties =&amp;gt; Macros&lt;/P&gt;&lt;P&gt;See the screenshot.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 15:58:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150095#M28177</guid>
      <dc:creator />
      <dc:date>2009-07-23T15:58:39Z</dc:date>
    </item>
    <item>
      <title>Store list box selection in a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150096#M28178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rainer ... Your solution is exactly what I am looking for...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 16:07:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150096#M28178</guid>
      <dc:creator>pkelly</dc:creator>
      <dc:date>2009-07-23T16:07:37Z</dc:date>
    </item>
    <item>
      <title>Store list box selection in a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150097#M28179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rainer.... its really good one ...&lt;/P&gt;&lt;P&gt;Once again Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2009 19:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150097#M28179</guid>
      <dc:creator />
      <dc:date>2009-09-29T19:06:55Z</dc:date>
    </item>
    <item>
      <title>Store list box selection in a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150098#M28180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using latest personal edition . I dont see macros Tab in Document properties. Could you help? Again my macros also dont recognize ActiveDocument Object&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 10:54:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-list-box-selection-in-a-variable/m-p/150098#M28180</guid>
      <dc:creator />
      <dc:date>2011-05-20T10:54:39Z</dc:date>
    </item>
  </channel>
</rss>

