<?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: How to copy fields from one table to an other table using a for loop? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-copy-fields-from-one-table-to-an-other-table-using-a-for/m-p/520343#M693265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I know you can somehow use a join or concatenate &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for know I want to use a for loop, because&amp;nbsp; I want to do some other stuff within&amp;nbsp; the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So lets say I have table A with fields A1, A1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which I want to copy to table B&amp;nbsp; with fields B1, B2, B3 so that the values of &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B3&amp;nbsp; becomes A1 for e.g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jul 2013 17:26:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-24T17:26:15Z</dc:date>
    <item>
      <title>How to copy fields from one table to an other table using a for loop?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-copy-fields-from-one-table-to-an-other-table-using-a-for/m-p/520341#M693263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I want to copy the values of one table to another table using a for loop?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 16:29:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-copy-fields-from-one-table-to-an-other-table-using-a-for/m-p/520341#M693263</guid>
      <dc:creator />
      <dc:date>2013-07-24T16:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy fields from one table to an other table using a for loop?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-copy-fields-from-one-table-to-an-other-table-using-a-for/m-p/520342#M693264</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;Can you explain the issue clearly it may be done without using for loop also. I helps us to figure it out for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 17:14:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-copy-fields-from-one-table-to-an-other-table-using-a-for/m-p/520342#M693264</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-07-24T17:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy fields from one table to an other table using a for loop?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-copy-fields-from-one-table-to-an-other-table-using-a-for/m-p/520343#M693265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I know you can somehow use a join or concatenate &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for know I want to use a for loop, because&amp;nbsp; I want to do some other stuff within&amp;nbsp; the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So lets say I have table A with fields A1, A1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which I want to copy to table B&amp;nbsp; with fields B1, B2, B3 so that the values of &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B3&amp;nbsp; becomes A1 for e.g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 17:26:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-copy-fields-from-one-table-to-an-other-table-using-a-for/m-p/520343#M693265</guid>
      <dc:creator />
      <dc:date>2013-07-24T17:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy fields from one table to an other table using a for loop?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-copy-fields-from-one-table-to-an-other-table-using-a-for/m-p/520344#M693266</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;You can very well use this sample&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD *, SubField(States,',') AS StatesUpdated Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Cust,States&lt;/P&gt;&lt;P&gt;111, "NY,NJ,CT"&lt;/P&gt;&lt;P&gt;222, "TX,AL"];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vTotalRows = NoOfRows('Table1');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i=0 to vTotalRows-1&lt;/P&gt;&lt;P&gt;Test:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Peek(StatesUpdated,$(i),'Table1') AS NewField&lt;/P&gt;&lt;P&gt;AutoGenerate 1;&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 18:33:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-copy-fields-from-one-table-to-an-other-table-using-a-for/m-p/520344#M693266</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-07-24T18:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy fields from one table to an other table using a for loop?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-copy-fields-from-one-table-to-an-other-table-using-a-for/m-p/520345#M693267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you want to add to an exixting table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say that in your case table Test already existed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 23:08:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-copy-fields-from-one-table-to-an-other-table-using-a-for/m-p/520345#M693267</guid>
      <dc:creator />
      <dc:date>2013-07-24T23:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy fields from one table to an other table using a for loop?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-copy-fields-from-one-table-to-an-other-table-using-a-for/m-p/520346#M693268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on which condition you have to add a field to existing one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 22:04:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-copy-fields-from-one-table-to-an-other-table-using-a-for/m-p/520346#M693268</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-07-26T22:04:41Z</dc:date>
    </item>
  </channel>
</rss>

