<?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 Set multi values to field via macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-multi-values-to-field-via-macro/m-p/230883#M82675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select only allows one value and it deselects all other values. You need ToggleSelect. ToggleSelect will select a value and keep the current selections. If the value is already selected, it will unselect it.&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;ActiveDocument.Fields("Pos").Select "Dad"&lt;BR /&gt; ActiveDocument.Fields("Pos").ToggleSelect "Mom"&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Dec 2010 15:50:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-22T15:50:40Z</dc:date>
    <item>
      <title>Set multi values to field via macro</title>
      <link>https://community.qlik.com/t5/QlikView/Set-multi-values-to-field-via-macro/m-p/230882#M82674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does anyone know how to set multi values to a specific field via a macro VBScrip?&lt;/P&gt;&lt;P&gt;I want to create a macro that will select the values "Dad" and "Mom" at the field named "Pos".&lt;/P&gt;&lt;P&gt;I'v tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUB SET_POS&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields("Pos").Select "Dad", "Mom"&lt;/P&gt;&lt;P&gt;END SUB&lt;/P&gt;&lt;P&gt;But it won't do.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2010 15:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-multi-values-to-field-via-macro/m-p/230882#M82674</guid>
      <dc:creator />
      <dc:date>2010-12-22T15:44:54Z</dc:date>
    </item>
    <item>
      <title>Set multi values to field via macro</title>
      <link>https://community.qlik.com/t5/QlikView/Set-multi-values-to-field-via-macro/m-p/230883#M82675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select only allows one value and it deselects all other values. You need ToggleSelect. ToggleSelect will select a value and keep the current selections. If the value is already selected, it will unselect it.&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;ActiveDocument.Fields("Pos").Select "Dad"&lt;BR /&gt; ActiveDocument.Fields("Pos").ToggleSelect "Mom"&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2010 15:50:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-multi-values-to-field-via-macro/m-p/230883#M82675</guid>
      <dc:creator />
      <dc:date>2010-12-22T15:50:40Z</dc:date>
    </item>
    <item>
      <title>Set multi values to field via macro</title>
      <link>https://community.qlik.com/t5/QlikView/Set-multi-values-to-field-via-macro/m-p/230884#M82676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this is what I was looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2010 16:09:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-multi-values-to-field-via-macro/m-p/230884#M82676</guid>
      <dc:creator />
      <dc:date>2010-12-22T16:09:34Z</dc:date>
    </item>
  </channel>
</rss>

