<?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: Union all tables from .MDB file? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Union-all-tables-from-MDB-file/m-p/586365#M1111754</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;Concatenate all tables and apply a flag field like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Example:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table1:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD ColA, ColB, ColC, 'Table1' as TableFlag&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from YourLocation;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CONCATENATE (Table1)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LOAD ColA, ColB, ColC, 'Table2' as TableFlag&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from YourLocation;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Like other tables&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Mar 2014 12:19:09 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2014-03-18T12:19:09Z</dc:date>
    <item>
      <title>Union all tables from .MDB file?</title>
      <link>https://community.qlik.com/t5/QlikView/Union-all-tables-from-MDB-file/m-p/586362#M1111751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a MDB (access) file. &lt;BR /&gt;In this file i have multiple tables with the same structure (same fields).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I want to Load in QlikView all my talbes in a same table.&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I arrived to connect my MDB and launch SQL query but just on one table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 09:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Union-all-tables-from-MDB-file/m-p/586362#M1111751</guid>
      <dc:creator />
      <dc:date>2014-03-18T09:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Union all tables from .MDB file?</title>
      <link>https://community.qlik.com/t5/QlikView/Union-all-tables-from-MDB-file/m-p/586363#M1111752</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;&lt;/P&gt;&lt;P&gt;You can use the concatenate load functionality in your script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the columns are identical in each MDB table, QlikView will attempt to concatenate them by default if they are loaded in sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, name your first table, such as Tablename: then preface the following loads of other files with CONCATENATE (TableName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableName:&lt;/P&gt;&lt;P&gt;LOAD Col1, Col2&lt;/P&gt;&lt;P&gt;from [file.qvd];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE (TableName)&lt;/P&gt;&lt;P&gt;LOAD Col1, Col2&lt;/P&gt;&lt;P&gt;from [file2.qvd];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 11:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Union-all-tables-from-MDB-file/m-p/586363#M1111752</guid>
      <dc:creator>cgdonders</dc:creator>
      <dc:date>2014-03-18T11:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Union all tables from .MDB file?</title>
      <link>https://community.qlik.com/t5/QlikView/Union-all-tables-from-MDB-file/m-p/586364#M1111753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;more information about concatenate: &lt;A href="http://www.qlikfix.com/2010/12/09/merging-tables-concatenation/" title="http://www.qlikfix.com/2010/12/09/merging-tables-concatenation/"&gt;Merging tables: concatenation » The Qlik Fix! The Qlik Fix!&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 11:38:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Union-all-tables-from-MDB-file/m-p/586364#M1111753</guid>
      <dc:creator>cgdonders</dc:creator>
      <dc:date>2014-03-18T11:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Union all tables from .MDB file?</title>
      <link>https://community.qlik.com/t5/QlikView/Union-all-tables-from-MDB-file/m-p/586365#M1111754</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;Concatenate all tables and apply a flag field like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Example:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table1:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD ColA, ColB, ColC, 'Table1' as TableFlag&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from YourLocation;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CONCATENATE (Table1)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LOAD ColA, ColB, ColC, 'Table2' as TableFlag&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from YourLocation;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Like other tables&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 12:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Union-all-tables-from-MDB-file/m-p/586365#M1111754</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-03-18T12:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Union all tables from .MDB file?</title>
      <link>https://community.qlik.com/t5/QlikView/Union-all-tables-from-MDB-file/m-p/586366#M1111755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I've tried this code :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ODBC &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;CONNECT32&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TO&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[MS Access Database;DBQ=D:\BDD\test.mdb]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;TableName:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NUMBER&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;D&gt;; &lt;/D&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I have an error : Field not fount -&amp;lt;NUMBER&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Where is my error?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 12:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Union-all-tables-from-MDB-file/m-p/586366#M1111755</guid>
      <dc:creator />
      <dc:date>2014-03-18T12:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Union all tables from .MDB file?</title>
      <link>https://community.qlik.com/t5/QlikView/Union-all-tables-from-MDB-file/m-p/586367#M1111757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,thank for your help, but the number of table is dynamic.&lt;BR /&gt;So today i have 20 tables but tomorow it could be 25 tables.&lt;/P&gt;&lt;P&gt;Is it possible to adapt your exemple ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 12:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Union-all-tables-from-MDB-file/m-p/586367#M1111757</guid>
      <dc:creator />
      <dc:date>2014-03-18T12:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Union all tables from .MDB file?</title>
      <link>https://community.qlik.com/t5/QlikView/Union-all-tables-from-MDB-file/m-p/586368#M1111759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to loop on tables, something as (I read only one table, adapt to your requirements)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;T:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sqltables;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Let RCount = NoOfRows('T'); &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;trace rows=$(RCount);&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;For i=0 to $(RCount) -1 &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;let x =&amp;nbsp; peek('TABLE_NAME',$(i), 'T'); &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;trace table=$(x);&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; if '$(x)'='Origin Airports' then&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; trace read;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; [$(x)]:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; LOAD *;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; SQL SELECT * FROM [$(x)];&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; ENDIF;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Next i; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 13:23:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Union-all-tables-from-MDB-file/m-p/586368#M1111759</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-18T13:23:27Z</dc:date>
    </item>
  </channel>
</rss>

