<?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 Re: Loop through rows of a Straight Table (Chart) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loop-through-rows-of-a-Straight-Table-Chart/m-p/434316#M1150984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A straight table (chart) object is not a regular table.&amp;nbsp; I have tried using the object name as the table name and using the caption, but neither version will return the number of rows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jun 2013 16:18:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-06-03T16:18:30Z</dc:date>
    <item>
      <title>Loop through rows of a Straight Table (Chart)</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-rows-of-a-Straight-Table-Chart/m-p/434314#M1150981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have successfully combined multiple tables into an inner joined straight table.&amp;nbsp; I know how to loop through the rows of a single table.&amp;nbsp; Is it possible to loop through the rows of a straight table using script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 15:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-rows-of-a-Straight-Table-Chart/m-p/434314#M1150981</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-03T15:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through rows of a Straight Table (Chart)</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-rows-of-a-Straight-Table-Chart/m-p/434315#M1150982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For i = 1 to noofRows(table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; let myvalue =&amp;nbsp; peek('field', $(i))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 15:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-rows-of-a-Straight-Table-Chart/m-p/434315#M1150982</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-06-03T15:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through rows of a Straight Table (Chart)</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-rows-of-a-Straight-Table-Chart/m-p/434316#M1150984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A straight table (chart) object is not a regular table.&amp;nbsp; I have tried using the object name as the table name and using the caption, but neither version will return the number of rows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 16:18:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-rows-of-a-Straight-Table-Chart/m-p/434316#M1150984</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-03T16:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through rows of a Straight Table (Chart)</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-rows-of-a-Straight-Table-Chart/m-p/434317#M1150985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, you cannot access a sheet object from script. You will need to create a qv table in the script that mimics the contents of the straight table object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 06:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-rows-of-a-Straight-Table-Chart/m-p/434317#M1150985</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2013-06-04T06:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through rows of a Straight Table (Chart)</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-through-rows-of-a-Straight-Table-Chart/m-p/434318#M1150987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can loop through the records from script:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;sub ReadTable&lt;/P&gt;&lt;P&gt; set table = ActiveDocument.GetSheetObject( "CH218" ) ' Use Object ID&lt;/P&gt;&lt;P&gt;&amp;nbsp; for RowIter = 1 to table.GetRowCount-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for ColIter = 0 to table.GetColumnCount-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set cell = table.GetCell(RowIter,ColIter)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox(cell.Text)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;/P&gt;&lt;P&gt;&amp;nbsp; next &lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above works perfectly for me.&lt;/P&gt;&lt;P&gt;Its even possible to insert, and update records too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Corrie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 12:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-through-rows-of-a-Straight-Table-Chart/m-p/434318#M1150987</guid>
      <dc:creator />
      <dc:date>2013-11-07T12:17:25Z</dc:date>
    </item>
  </channel>
</rss>

