<?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 Concatenate same structrured QVDs from different folders in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455833#M170163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have QVDs with same names, but extracted from different databases. Those QVDs have same table structures. For example I have A.qvd and B.qvd and are stored in X and Y folders each (X is having A &amp;amp; B from one database and Y is having A &amp;amp; B from other database). Similary I have multiple folders and more than hunderd QVDs in each. I need to concatenate all the same QVDs from each folders in a single go using a loop.&lt;/P&gt;&lt;P&gt;I am using the below way. Please advice a better way if anyone have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(Include=c:\FolderNames.txt)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(Include=c:\qvdpath.txt)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(Include=c:\tablenames.txt)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;vtable&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;NoOfRows&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;('Table_names');&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;for&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&lt;STRONG&gt;&lt;EM&gt;i&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;=0 &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;to&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vtable)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;-1&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;vtablename&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;('Table_names',&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(i)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;,'QVD_names');&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;n&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12px; font-family: 'Courier New';"&gt;NoOfRows&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;('Plant_name');&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;for&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&lt;STRONG&gt;&lt;EM&gt;j&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;=0 &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;to&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(n)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;-1&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;vplantname&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;('Plant_name',&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(j)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;,'test');&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vtablename)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vqvdpath)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;\&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vplantname)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;\&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vtablename)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;.qvd(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;);&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;next&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;store&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vtablename)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;into&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; C:\Consolidated QVDs\&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vtablename)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;.qvd(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;);&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;drop&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;table&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vtablename)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jan 2013 17:59:30 GMT</pubDate>
    <dc:creator>dmohanty</dc:creator>
    <dc:date>2013-01-24T17:59:30Z</dc:date>
    <item>
      <title>Concatenate same structrured QVDs from different folders</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455833#M170163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have QVDs with same names, but extracted from different databases. Those QVDs have same table structures. For example I have A.qvd and B.qvd and are stored in X and Y folders each (X is having A &amp;amp; B from one database and Y is having A &amp;amp; B from other database). Similary I have multiple folders and more than hunderd QVDs in each. I need to concatenate all the same QVDs from each folders in a single go using a loop.&lt;/P&gt;&lt;P&gt;I am using the below way. Please advice a better way if anyone have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(Include=c:\FolderNames.txt)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(Include=c:\qvdpath.txt)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(Include=c:\tablenames.txt)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;vtable&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;NoOfRows&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;('Table_names');&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;for&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&lt;STRONG&gt;&lt;EM&gt;i&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;=0 &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;to&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vtable)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;-1&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;vtablename&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;('Table_names',&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(i)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;,'QVD_names');&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;n&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12px; font-family: 'Courier New';"&gt;NoOfRows&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;('Plant_name');&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;for&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&lt;STRONG&gt;&lt;EM&gt;j&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;=0 &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;to&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(n)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;-1&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;vplantname&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;('Plant_name',&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(j)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;,'test');&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vtablename)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vqvdpath)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;\&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vplantname)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;\&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vtablename)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;.qvd(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;);&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;next&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;store&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vtablename)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;into&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; C:\Consolidated QVDs\&lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vtablename)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;.qvd(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;);&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;drop&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;table&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vtablename)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 17:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455833#M170163</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-01-24T17:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate same structrured QVDs from different folders</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455834#M170164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;I revised the code a bit to concatenate the QVDs from two different folders. But the problem is that, when the QVDs from 2nd folder are coming, they are replacing the QVDs generated from 1st folder. My aim is to concatenate the QVDs from both the folders. Please suggest. Do I need to mention CONCATENATE somewhere? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set errormode = 0; &lt;/P&gt;&lt;P&gt;let qvdpath = 'C:\Users\DICKY\Desktop';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each vPlant in&amp;nbsp; '$(qvdpath)\MAP\' , '$(qvdpath)\HPG\'&lt;/P&gt;&lt;P&gt;for each qvd_file in FileList('$(vPlant)*')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let QVDName = subfield('$(qvd_file)','\',6);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(QVDName):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(vPlant)$(QVDName)&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store $(QVDName) into C:\Users\DICKY\Desktop\Test QVDs\$(QVDName);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop Tables $(QVDName);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXIT Script; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 19:42:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455834#M170164</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-01-28T19:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate same structrured QVDs from different folders</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455835#M170165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I may be over simplifying here but you could loop through the first folder and load the QVDs using the $(QVDName) as the table name&amp;nbsp; Then loop through the second folder using the concatenate with $(QVDName).&amp;nbsp; Try something similar to what is below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13594033018517148" jivemacro_uid="_13594033018517148"&gt;&lt;P&gt;let qvdpath = 'C:\Users\DICKY\Desktop';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each qvd_file in FileList('$(qvdpath)\MAP\')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let QVDName = subfield('$(qvd_file)','\',6);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(QVDName):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 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; *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(qvdpath)\MAP\$(QVDName)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (qvd);&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each qvd_file in FileList('$(qvdpath)\HPG\')&lt;/P&gt;&lt;P&gt;let QVDName = subfield('$(qvd_file)','\',6);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Concatenate($(QVDName)):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 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; *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(qvdpath)\HPG\$(QVDName)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (qvd);&lt;/P&gt;&lt;P&gt;store $(QVDName) into C:\Users\DICKY\Desktop\Test QVDs\$(QVDName);&lt;/P&gt;&lt;P&gt;drop Tables $(QVDName);&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 20:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455835#M170165</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-28T20:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate same structrured QVDs from different folders</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455836#M170166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you very much for the solution. Though this piece of code becomes a bit lengthier, but it works perfectly. I was just wondering if we can write&amp;nbsp; 'LOAD * FROM ' just once using every possible loops, it would be better. If you strike upon any such ideas, please share too.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Appreciate your quick turnaround.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 21:11:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455836#M170166</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-01-28T21:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate same structrured QVDs from different folders</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455837#M170167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, my solution probably isn't the most eloquent but I wanted to at least give you something that would accomplish what you set out to do.&amp;nbsp; I'm not sure if this is going to work since I've never had to do something like that but I thought this was at least worth a shot.&amp;nbsp; You may need some single quotes around the if statements, I'm not sure about the formatting for what I've provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13594094119478915" jivemacro_uid="_13594094119478915"&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;CODE class="jive-code"&gt;let qvdpath = 'C:\Users\DICKY\Desktop';&lt;BR /&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;for each qvd_file in FileList(&lt;CODE class="jive-code"&gt;'$(qvdpath)\MAP\'&lt;/CODE&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;for each vPlant in&amp;nbsp; '$(qvdpath)\MAP\' , '$(qvdpath)\HPG\'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;CODE class="jive-code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let QVDName = subfield('$(qvd_file)','\',6);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If($(&lt;/CODE&gt;vPlant)='$(qvdpath)\MAP\'&lt;CODE class="jive-code"&gt;,'$(QVDName)','&lt;/CODE&gt;&lt;CODE class="jive-code"&gt;Concatenate($(QVDName))')&lt;/CODE&gt;&lt;CODE class="jive-code"&gt;:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;CODE class="jive-code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If($(&lt;/CODE&gt;vPlant)='$(qvdpath)\MAP\'&lt;CODE class="jive-code"&gt;,'&lt;/CODE&gt;&lt;CODE class="jive-code"&gt;$(qvdpath)\MAP\$(QVDName)','&lt;/CODE&gt;&lt;CODE class="jive-code"&gt;$(qvdpath)\HPG\$(QVDName)')&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;CODE class="jive-code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (qvd);&lt;BR /&gt;next&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;CODE class="jive-code"&gt;&lt;/CODE&gt;&lt;CODE class="jive-code"&gt;store $(QVDName) into C:\Users\DICKY\Desktop\Test QVDs\$(QVDName);&lt;BR /&gt;drop Tables $(QVDName);&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;CODE class="jive-code"&gt;Next&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 21:43:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455837#M170167</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-28T21:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate same structrured QVDs from different folders</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455838#M170168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not seeing why you need to extract the qvdname. qvd_file inside the FileList loop should have the complete path to the qvd. So it looks to me like the somple:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD * FROM [$(qvd_file)] (qvd);&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 23:04:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455838#M170168</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2013-01-28T23:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate same structrured QVDs from different folders</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455839#M170169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kevin and Rob for trying your hands on my query. But somehow the 'IF' condition is showing some syntax error.However I will take it forward to simplify, if possible. &lt;/P&gt;&lt;P&gt;Can you please help me out with the challenge provided in the below thread? If possible reply in the respective thread itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/message/303936#303936" title="http://community.qlik.com/message/303936#303936"&gt;http://community.qlik.com/message/303936#303936&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 04:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455839#M170169</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-01-29T04:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate same structrured QVDs from different folders</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455840#M170170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Using this process the QVD gets concatenated very well. But the problem is, if there are some extra QVDs in one folder that are not in other folder, those QVDs are not being stored/dropped. "Table not found" error comes. Can we use some IF ELSE statement? Unluckily IF ELSE syntax not working. Can you please help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 09:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455840#M170170</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-01-29T09:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate same structrured QVDs from different folders</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455841#M170171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're going to use the If...ElseIF...Else...EndIf syntax, you're going to likely end up repeating your Load * From statement twice.&amp;nbsp; If that's the case, you might as well keep things simple and use the first answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 13:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-same-structrured-QVDs-from-different-folders/m-p/455841#M170171</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-29T13:26:25Z</dc:date>
    </item>
  </channel>
</rss>

