<?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 Refresh QVD using QV &amp; ODBC &amp; VB/Batch File in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Refresh-QVD-using-QV-ODBC-VB-Batch-File/m-p/191873#M715382</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All.&lt;/P&gt;&lt;P&gt;Hope someone can point out an alternate approach to this !&lt;/P&gt;&lt;P&gt;I have a Database table ( I am using Progres DB) that stores all our credits for the past number of years, these credits have a unique sequential number. My problem is that due to the way the WMS is set up, these numbers get allocated when a credit is created and not when it is completed, a status of complete is also set. I don't particularly want to read in the full credit file of the correct status every night and I can't just look for the last ref number in QlikView and load from here because there could be gaps in the numbers due to the fact that particular credits have not been actioned yet.&lt;/P&gt;&lt;P&gt;The solution that I have come up with is a QV program using the following-&lt;/P&gt;&lt;P class="MsoListParagraphCxSpFirst" style="text-indent: -18pt; margin: 0cm 0cm 0pt 18pt; mso-add-space: auto; mso-list: l0 level1 lfo1;"&gt;1. Run VB Script/Batch file - this will read through all the credits that not been exported to QlikView and set the status to awaiting export.&lt;/P&gt;&lt;P class="MsoListParagraphCxSpMiddle" style="text-indent: -18pt; margin: 0cm 0cm 0pt 18pt; mso-add-space: auto; mso-list: l0 level1 lfo1;"&gt;2. QV load - Read in via ODBC all the credits at the correct status and append to the QVD file.&lt;/P&gt;&lt;P class="MsoListParagraphCxSpLast" style="text-indent: -18pt; margin: 0cm 0cm 10pt 18pt; mso-add-space: auto; mso-list: l0 level1 lfo1;"&gt;3. Run VB/Batch file - set all the awaiting load statuses to a status of loaded so won be picked up again&lt;/P&gt;&lt;P&gt;This is a cumbersome way doing thinks and seems very error prone, was hoping someone could suggest a alternate/improved method.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gavin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Mar 2010 14:04:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-03-24T14:04:39Z</dc:date>
    <item>
      <title>Refresh QVD using QV &amp; ODBC &amp; VB/Batch File</title>
      <link>https://community.qlik.com/t5/QlikView/Refresh-QVD-using-QV-ODBC-VB-Batch-File/m-p/191873#M715382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All.&lt;/P&gt;&lt;P&gt;Hope someone can point out an alternate approach to this !&lt;/P&gt;&lt;P&gt;I have a Database table ( I am using Progres DB) that stores all our credits for the past number of years, these credits have a unique sequential number. My problem is that due to the way the WMS is set up, these numbers get allocated when a credit is created and not when it is completed, a status of complete is also set. I don't particularly want to read in the full credit file of the correct status every night and I can't just look for the last ref number in QlikView and load from here because there could be gaps in the numbers due to the fact that particular credits have not been actioned yet.&lt;/P&gt;&lt;P&gt;The solution that I have come up with is a QV program using the following-&lt;/P&gt;&lt;P class="MsoListParagraphCxSpFirst" style="text-indent: -18pt; margin: 0cm 0cm 0pt 18pt; mso-add-space: auto; mso-list: l0 level1 lfo1;"&gt;1. Run VB Script/Batch file - this will read through all the credits that not been exported to QlikView and set the status to awaiting export.&lt;/P&gt;&lt;P class="MsoListParagraphCxSpMiddle" style="text-indent: -18pt; margin: 0cm 0cm 0pt 18pt; mso-add-space: auto; mso-list: l0 level1 lfo1;"&gt;2. QV load - Read in via ODBC all the credits at the correct status and append to the QVD file.&lt;/P&gt;&lt;P class="MsoListParagraphCxSpLast" style="text-indent: -18pt; margin: 0cm 0cm 10pt 18pt; mso-add-space: auto; mso-list: l0 level1 lfo1;"&gt;3. Run VB/Batch file - set all the awaiting load statuses to a status of loaded so won be picked up again&lt;/P&gt;&lt;P&gt;This is a cumbersome way doing thinks and seems very error prone, was hoping someone could suggest a alternate/improved method.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gavin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Mar 2010 14:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Refresh-QVD-using-QV-ODBC-VB-Batch-File/m-p/191873#M715382</guid>
      <dc:creator />
      <dc:date>2010-03-24T14:04:39Z</dc:date>
    </item>
  </channel>
</rss>

