<?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 Add another value to the object returned by the getSelectedValues function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-another-value-to-the-object-returned-by-the/m-p/597822#M684272</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;excuse me for my english.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add another value to the object returned by the getSelectedValues function and i don't know how i can do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub ADDNULLSELECTION()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set doc = ActiveDocument&lt;/P&gt;&lt;P&gt;&amp;nbsp; set selectedValues = doc.fields("Project_Id").getSelectedValues &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Here should be the code that adds another value to the "selectedValues" variable but i have not found the kind of object that returns the getSelectedValues function and i don't know how i&amp;nbsp; can do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; doc.fields("Project_Id").SelectValues(SelectedValues) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;¿Can someone help me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Feb 2014 08:53:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-18T08:53:22Z</dc:date>
    <item>
      <title>Add another value to the object returned by the getSelectedValues function</title>
      <link>https://community.qlik.com/t5/QlikView/Add-another-value-to-the-object-returned-by-the/m-p/597822#M684272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;excuse me for my english.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add another value to the object returned by the getSelectedValues function and i don't know how i can do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub ADDNULLSELECTION()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set doc = ActiveDocument&lt;/P&gt;&lt;P&gt;&amp;nbsp; set selectedValues = doc.fields("Project_Id").getSelectedValues &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Here should be the code that adds another value to the "selectedValues" variable but i have not found the kind of object that returns the getSelectedValues function and i don't know how i&amp;nbsp; can do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; doc.fields("Project_Id").SelectValues(SelectedValues) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;¿Can someone help me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 08:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-another-value-to-the-object-returned-by-the/m-p/597822#M684272</guid>
      <dc:creator />
      <dc:date>2014-02-18T08:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Add another value to the object returned by the getSelectedValues function</title>
      <link>https://community.qlik.com/t5/QlikView/Add-another-value-to-the-object-returned-by-the/m-p/597823#M684273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this set of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub ADDNULLSELECTION()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set doc = ActiveDocument&lt;/P&gt;&lt;P&gt;&amp;nbsp; set selectedValues = doc.fields("&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Project_Id&lt;/SPAN&gt;").getSelectedValues&lt;/P&gt;&lt;P&gt;&amp;nbsp; selectedValues.add&lt;/P&gt;&lt;P&gt;&amp;nbsp; selectedValues(selectedValues.count-1).Text= "YourValueHere"&lt;/P&gt;&lt;P&gt;&amp;nbsp; selectedValues(selectedValues.count-1).IsNumeric = false&lt;/P&gt;&lt;P&gt;&amp;nbsp; doc.fields("&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Project_Id&lt;/SPAN&gt;").SelectValues selectedValues&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 14:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-another-value-to-the-object-returned-by-the/m-p/597823#M684273</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-02-18T14:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Add another value to the object returned by the getSelectedValues function</title>
      <link>https://community.qlik.com/t5/QlikView/Add-another-value-to-the-object-returned-by-the/m-p/597824#M684274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect!! It works!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much jerem!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 15:02:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-another-value-to-the-object-returned-by-the/m-p/597824#M684274</guid>
      <dc:creator />
      <dc:date>2014-02-18T15:02:09Z</dc:date>
    </item>
  </channel>
</rss>

