<?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 Use macro to concatenate into QVD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-macro-to-concatenate-into-QVD/m-p/435106#M162193</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'm using a macro to export a table into a QVD and I'm wondering if it's possible to instead concatenate into the QVD. Right now it overwrites everything that is in the QVD when I'm exporting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My macro looks like this:&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_13554111978816926" jivemacro_uid="_13554111978816926"&gt;&lt;P&gt;sub test&lt;/P&gt;&lt;P&gt;set obj = ActiveDocument.GetSheetObject("CH173")&lt;/P&gt;&lt;P&gt;obj.ExportBiff "E:\QlikView\SourceDocuments\Qvd\history.qvd"&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Dec 2012 15:06:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-13T15:06:58Z</dc:date>
    <item>
      <title>Use macro to concatenate into QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Use-macro-to-concatenate-into-QVD/m-p/435106#M162193</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'm using a macro to export a table into a QVD and I'm wondering if it's possible to instead concatenate into the QVD. Right now it overwrites everything that is in the QVD when I'm exporting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My macro looks like this:&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_13554111978816926" jivemacro_uid="_13554111978816926"&gt;&lt;P&gt;sub test&lt;/P&gt;&lt;P&gt;set obj = ActiveDocument.GetSheetObject("CH173")&lt;/P&gt;&lt;P&gt;obj.ExportBiff "E:\QlikView\SourceDocuments\Qvd\history.qvd"&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 15:06:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-macro-to-concatenate-into-QVD/m-p/435106#M162193</guid>
      <dc:creator />
      <dc:date>2012-12-13T15:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Use macro to concatenate into QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Use-macro-to-concatenate-into-QVD/m-p/435107#M162194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still haven' figured this out. Right now I instead try to write to a .txt file uising the following macro:&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_13558151078874738" jivemacro_uid="_13558151078874738"&gt;&lt;P&gt;sub test&lt;/P&gt;&lt;P&gt;set obj = ActiveDocument.GetSheetObject("CH173")&lt;/P&gt;&lt;P&gt;obj.ExportEx "E:\QlikView\SourceDocuments\Qvd\history.txt",1,true&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this macro, the files is not overwritten. So it works for my user on the server. However, my customer that has another account get's the following error:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Cannot open file &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;E:\QlikView\SourceDocuments\Qvd\history.txt&lt;/SPAN&gt; for writing!&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I tried to change the security settings on the file, so that this user has permission to write to the file but it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 07:22:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-macro-to-concatenate-into-QVD/m-p/435107#M162194</guid>
      <dc:creator />
      <dc:date>2012-12-18T07:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Use macro to concatenate into QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Use-macro-to-concatenate-into-QVD/m-p/435108#M162195</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;The error might be shown because your customer doesn't have access to your server.&lt;/P&gt;&lt;P&gt;Instead you can export the data to a shared location where you as well as your customers have access to the specified folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 10:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-macro-to-concatenate-into-QVD/m-p/435108#M162195</guid>
      <dc:creator />
      <dc:date>2012-12-18T10:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Use macro to concatenate into QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Use-macro-to-concatenate-into-QVD/m-p/435109#M162196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this, I guess this is the problem. However, do you know a good way to export information from a QV-document to a QVD by concatenating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the user to be able to save data from this document to a database which I can load into the same qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 14:44:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-macro-to-concatenate-into-QVD/m-p/435109#M162196</guid>
      <dc:creator />
      <dc:date>2012-12-19T14:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Use macro to concatenate into QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Use-macro-to-concatenate-into-QVD/m-p/435110#M162197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can directly store the data in database but if something goes wrong then you cannot keep track of the old data and everything will be messed up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead, in every reload, you can read data from the new files saved by users in qvw file and save it in qvd.&lt;/P&gt;&lt;P&gt;If you create a files with usernames or userId then it is possible to keep track of the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 13:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-macro-to-concatenate-into-QVD/m-p/435110#M162197</guid>
      <dc:creator />
      <dc:date>2012-12-20T13:34:05Z</dc:date>
    </item>
  </channel>
</rss>

