<?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 Load data from DB when table is created in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-data-from-DB-when-table-is-created/m-p/1240571#M394028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have an app that is pulling data from a regular SQL database. The DB is structured in such a way that it creates fact tables for every month of the year:&lt;/P&gt;&lt;P&gt;Order_2015_Jan&lt;/P&gt;&lt;P&gt;Order_2015_Feb&lt;/P&gt;&lt;P&gt;Order_2015_Mar&lt;/P&gt;&lt;P&gt;Order_2015_May&lt;/P&gt;&lt;P&gt;Sometimes they do not always run sequential and miss a month. I need to load each of these tables once they are created so the app can report on those months. I can obviously open the app each month and create a LK_Key and load the new table but I need to automate this process. Any idea's?&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Nov 2016 13:41:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-11-12T13:41:19Z</dc:date>
    <item>
      <title>Load data from DB when table is created</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-from-DB-when-table-is-created/m-p/1240571#M394028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have an app that is pulling data from a regular SQL database. The DB is structured in such a way that it creates fact tables for every month of the year:&lt;/P&gt;&lt;P&gt;Order_2015_Jan&lt;/P&gt;&lt;P&gt;Order_2015_Feb&lt;/P&gt;&lt;P&gt;Order_2015_Mar&lt;/P&gt;&lt;P&gt;Order_2015_May&lt;/P&gt;&lt;P&gt;Sometimes they do not always run sequential and miss a month. I need to load each of these tables once they are created so the app can report on those months. I can obviously open the app each month and create a LK_Key and load the new table but I need to automate this process. Any idea's?&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Nov 2016 13:41:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-from-DB-when-table-is-created/m-p/1240571#M394028</guid>
      <dc:creator />
      <dc:date>2016-11-12T13:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Load data from DB when table is created</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-from-DB-when-table-is-created/m-p/1240572#M394029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can query the available tables using&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/ScriptRegularStatements/SQLTables.htm" title="https://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/ScriptRegularStatements/SQLTables.htm"&gt;https://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/ScriptRegularStatements/SQLTables.htm&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should allow you to create a FOR EACH ... NEXT loop in your script to iterate over the order tables available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can schedule a periodic reload task for this script or (if your have some kind of external trigger that may inform you about a new table has been created, you can use an EDX trigger approach to reload your script:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-2650"&gt;Using EDX in QlikView 11&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Nov 2016 14:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-from-DB-when-table-is-created/m-p/1240572#M394029</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-11-12T14:05:06Z</dc:date>
    </item>
  </channel>
</rss>

