<?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 Current Selections - Population from another object. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-Selections-Population-from-another-object/m-p/211175#M65533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to read the records for one field in an object and then use the values found to populate the Current Selections box. Below is the code I have put together thus far which walks through the rows but I'm struggling on how to collect all of the values and pass them to the current selections box.&lt;BR /&gt;&lt;BR /&gt;Any help will be appreciated,&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;&lt;BR /&gt;Sub SelectRecordsCH18&lt;BR /&gt;set table = ActiveDocument.GetSheetObject( "CH18" )&lt;BR /&gt;for RowIter = 1 to table.GetRowCount-1&lt;BR /&gt; 'for ColIter = 0 to table.GetColumnCount-0&lt;BR /&gt; set cell = table.GetCell(RowIter,0)&lt;BR /&gt; msgbox(cell.Text)&lt;BR /&gt; set ObjVar = ActiveDocument.Variables("vSelection")&lt;BR /&gt; ObjVar.SetContent cell.Text, TRUE&lt;BR /&gt;next&lt;BR /&gt;end sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2009 21:25:42 GMT</pubDate>
    <dc:creator>dbaksa_1</dc:creator>
    <dc:date>2009-10-08T21:25:42Z</dc:date>
    <item>
      <title>Current Selections - Population from another object.</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Selections-Population-from-another-object/m-p/211175#M65533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to read the records for one field in an object and then use the values found to populate the Current Selections box. Below is the code I have put together thus far which walks through the rows but I'm struggling on how to collect all of the values and pass them to the current selections box.&lt;BR /&gt;&lt;BR /&gt;Any help will be appreciated,&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;&lt;BR /&gt;Sub SelectRecordsCH18&lt;BR /&gt;set table = ActiveDocument.GetSheetObject( "CH18" )&lt;BR /&gt;for RowIter = 1 to table.GetRowCount-1&lt;BR /&gt; 'for ColIter = 0 to table.GetColumnCount-0&lt;BR /&gt; set cell = table.GetCell(RowIter,0)&lt;BR /&gt; msgbox(cell.Text)&lt;BR /&gt; set ObjVar = ActiveDocument.Variables("vSelection")&lt;BR /&gt; ObjVar.SetContent cell.Text, TRUE&lt;BR /&gt;next&lt;BR /&gt;end sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 21:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Selections-Population-from-another-object/m-p/211175#M65533</guid>
      <dc:creator>dbaksa_1</dc:creator>
      <dc:date>2009-10-08T21:25:42Z</dc:date>
    </item>
  </channel>
</rss>

