<?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 How can I make this select using VBScript? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-make-this-select-using-VBScript/m-p/318100#M117238</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use a macro to get an inicial selection and it works fine.&lt;/P&gt;&lt;P&gt;My problem is that for an specific field I wannna make a selection for 3 diferent results and I am not getting the correct expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub SelecaoInicial&lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.GetField("Tipo_Faturamento").Select "Faturado"&lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.GetField("Family").Select "AA"&lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.GetField("Family").Select "BB" &lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.GetField("Family").Select "CC" &lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanna select for Family these 3 options: AA, BB and CC, but it´s only selecting the last line - CC.&lt;/P&gt;&lt;P&gt;I´ve tried to put AND and OR, but all my atemptatives not worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2012 16:25:09 GMT</pubDate>
    <dc:creator>rcandeo</dc:creator>
    <dc:date>2012-02-24T16:25:09Z</dc:date>
    <item>
      <title>How can I make this select using VBScript?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-make-this-select-using-VBScript/m-p/318100#M117238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use a macro to get an inicial selection and it works fine.&lt;/P&gt;&lt;P&gt;My problem is that for an specific field I wannna make a selection for 3 diferent results and I am not getting the correct expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub SelecaoInicial&lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.GetField("Tipo_Faturamento").Select "Faturado"&lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.GetField("Family").Select "AA"&lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.GetField("Family").Select "BB" &lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.GetField("Family").Select "CC" &lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanna select for Family these 3 options: AA, BB and CC, but it´s only selecting the last line - CC.&lt;/P&gt;&lt;P&gt;I´ve tried to put AND and OR, but all my atemptatives not worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 16:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-make-this-select-using-VBScript/m-p/318100#M117238</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2012-02-24T16:25:09Z</dc:date>
    </item>
    <item>
      <title>How can I make this select using VBScript?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-make-this-select-using-VBScript/m-p/318101#M117239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Start with .Select then for following statements use .ToggleSelect. for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Sub SelecaoInicial&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp; ActiveDocument.GetField("Tipo_Faturamento").Select "Faturado"&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp; ActiveDocument.GetField("Family").Select "AA"&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp; ActiveDocument.GetField("Family").ToggleSelect "BB"&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp; ActiveDocument.GetField("Family").ToggleSelect "CC"&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;End Sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 16:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-make-this-select-using-VBScript/m-p/318101#M117239</guid>
      <dc:creator />
      <dc:date>2012-02-24T16:43:03Z</dc:date>
    </item>
    <item>
      <title>How can I make this select using VBScript?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-make-this-select-using-VBScript/m-p/318102#M117240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 17:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-make-this-select-using-VBScript/m-p/318102#M117240</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2012-02-24T17:06:52Z</dc:date>
    </item>
  </channel>
</rss>

