<?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 Appending an Export macro call to QVD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Appending-an-Export-macro-call-to-QVD/m-p/551275#M690718</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;I have been trying to export the contents of a straight table into a QVD file using a macro.&amp;nbsp; While that works fine, I cannot get the append option to work in the ExportEx function.&amp;nbsp; Has anyone found a way to get this to work as advertised?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can add a date-stamp to the file instead to make the file unique, but then I am stuck with a long list of files which are not necessary.&amp;nbsp; Code being used currently is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Sub ExportDaysCover(vUnit, vExportObject)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; vQVWFile = "D:\Qlikview Dashboards\Regional\Inventory\" &amp;amp; vUnit &amp;amp; "\" &amp;amp; vUnit &amp;amp; " Inventory.qvw"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; vExportFile = "D:\Qlikview_QVD\QVExport\Regional\Inventory\" &amp;amp; vUnit &amp;amp; "\" &amp;amp; vUnit &amp;amp; "_Days_Cover.qvd"&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Set QV = ActiveDocument.GetApplication&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; Set QVDoc = QV.OpenDoc(vQVWFile)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; QVDoc.GetSheetObject(vExportObject).ExportEx vExportFile, 4, &lt;STRONG&gt;true&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; QVDoc.CloseDoc&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;End Sub&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been searching for how to get around this for a while.&amp;nbsp; Tried the AppendExport function too, but didnt get the desired result.&amp;nbsp; Also tried including all optional parameters to the ExportEx function just in case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully I am just missing something obvious!&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Sep 2013 03:45:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-23T03:45:14Z</dc:date>
    <item>
      <title>Appending an Export macro call to QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Appending-an-Export-macro-call-to-QVD/m-p/551275#M690718</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;I have been trying to export the contents of a straight table into a QVD file using a macro.&amp;nbsp; While that works fine, I cannot get the append option to work in the ExportEx function.&amp;nbsp; Has anyone found a way to get this to work as advertised?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can add a date-stamp to the file instead to make the file unique, but then I am stuck with a long list of files which are not necessary.&amp;nbsp; Code being used currently is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Sub ExportDaysCover(vUnit, vExportObject)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; vQVWFile = "D:\Qlikview Dashboards\Regional\Inventory\" &amp;amp; vUnit &amp;amp; "\" &amp;amp; vUnit &amp;amp; " Inventory.qvw"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; vExportFile = "D:\Qlikview_QVD\QVExport\Regional\Inventory\" &amp;amp; vUnit &amp;amp; "\" &amp;amp; vUnit &amp;amp; "_Days_Cover.qvd"&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Set QV = ActiveDocument.GetApplication&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; Set QVDoc = QV.OpenDoc(vQVWFile)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; QVDoc.GetSheetObject(vExportObject).ExportEx vExportFile, 4, &lt;STRONG&gt;true&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; QVDoc.CloseDoc&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;End Sub&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been searching for how to get around this for a while.&amp;nbsp; Tried the AppendExport function too, but didnt get the desired result.&amp;nbsp; Also tried including all optional parameters to the ExportEx function just in case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully I am just missing something obvious!&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 03:45:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Appending-an-Export-macro-call-to-QVD/m-p/551275#M690718</guid>
      <dc:creator />
      <dc:date>2013-09-23T03:45:14Z</dc:date>
    </item>
  </channel>
</rss>

