<?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: How to Export variables declare in variable overview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224868#M77230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tnx &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;it work now perfectly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Dec 2011 17:03:05 GMT</pubDate>
    <dc:creator>xtrimf</dc:creator>
    <dc:date>2011-12-04T17:03:05Z</dc:date>
    <item>
      <title>How to Export variables declare in variable overview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224860#M77222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;I want to use the variables that already declared in variable overview of an Application.&lt;/P&gt;&lt;P&gt;Is it possible to Export the variable.&lt;/P&gt;&lt;P&gt;and how to use same variable for an new application. Can anyone let me know.Its very useful for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 10:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224860#M77222</guid>
      <dc:creator />
      <dc:date>2010-04-26T10:23:33Z</dc:date>
    </item>
    <item>
      <title>How to Export variables declare in variable overview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224861#M77223</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 don't know of a way to export your current variables, however, the way I set up QlikView to allow re-using variables is that I define them all in a QVS file and then include the file in the load script. I have attached a copy of a QVS file to this message (please note: I had to rename it to .QVS.TXT to get it to attach) so you can take a look, in the load script you would simply add in a line like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;$(Include = "\QlikView\QVS\StandardVariables.QVS")&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Good luck,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 12:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224861#M77223</guid>
      <dc:creator />
      <dc:date>2010-04-26T12:08:35Z</dc:date>
    </item>
    <item>
      <title>How to Export variables declare in variable overview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224862#M77224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;If i declare the variable in Edit script it is easy to export it into QVS file and use that in other application.&lt;/P&gt;&lt;P&gt;But i need an way to export the variable that declare in variable overview. if you find any solution please let me know. its very useful.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 05:17:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224862#M77224</guid>
      <dc:creator />
      <dc:date>2010-04-27T05:17:18Z</dc:date>
    </item>
    <item>
      <title>How to Export variables declare in variable overview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224863#M77225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This little macro will export all the names of the document variables to a .txt file. The file location should be defined in the variable vExportTo. It would be quite easy to also export the variable values too. Remember to change the module security too to allow access to the system.&lt;/P&gt;&lt;P&gt;sub ExportVarNames&lt;/P&gt;&lt;P&gt;set doc = ActiveDocument&lt;/P&gt;&lt;P&gt;vExportTo = doc.Variables("vExportTo").GetContent.String&lt;/P&gt;&lt;P&gt;set fso = CreateObject("Scripting.FileSystemObject")&lt;/P&gt;&lt;P&gt;on error resume next&lt;/P&gt;&lt;P&gt;set logFile = fso.GetFile(vExportTo)&lt;/P&gt;&lt;P&gt;if err &amp;lt;&amp;gt; 0 then ' file does not exist&lt;BR /&gt; on error goto 0&lt;BR /&gt; set logFile = fso.CreateTextFile(vExportTo)&lt;BR /&gt; set logFile = fso.GetFile(vExportTo)&lt;BR /&gt; else&lt;BR /&gt; on error goto 0&lt;BR /&gt; end if&lt;/P&gt;&lt;P&gt;set txsStream = logFile.OpenAsTextStream(8) ' append&lt;/P&gt;&lt;P&gt;set vars = ActiveDocument.GetVariableDescriptions&lt;BR /&gt;&lt;BR /&gt; for i = 0 to vars.Count - 1&lt;BR /&gt; set v = vars.Item(i)&lt;BR /&gt; txsStream.WriteLine v.Name&lt;BR /&gt; next&lt;/P&gt;&lt;P&gt;txsStream.Close&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 10:03:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224863#M77225</guid>
      <dc:creator />
      <dc:date>2010-04-27T10:03:58Z</dc:date>
    </item>
    <item>
      <title>How to Export variables declare in variable overview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224864#M77226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gordon,&lt;/P&gt;&lt;P&gt;I'm also trying to do same as vijayakumar. You written a macro to export all the variables into text file it is working fine. But how can i use this variables in another qlikview file along with data of the variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I can see only variables name in the text file but there is no data for particular variables. I declared variable vExportTo='C:\Jagan\QVExamples\RTQ\RTQ\aa.txt &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it correct? If correct how can i overcome this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 06:33:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224864#M77226</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2011-05-23T06:33:10Z</dc:date>
    </item>
    <item>
      <title>How to Export variables declare in variable overview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224865#M77227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;change your for-next loop to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; for i = 0 to vars.Count - 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set v = vars.Item(i) &lt;/P&gt;&lt;P&gt;&amp;nbsp; txsStream.WriteLine v.Name &amp;amp; chr(9) &amp;amp; v.RawValue&lt;/P&gt;&lt;P&gt; next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will create a tab-separated list for var names and values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 07:47:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224865#M77227</guid>
      <dc:creator />
      <dc:date>2011-06-21T07:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to Export variables declare in variable overview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224866#M77228</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;It is not working for me..&lt;/P&gt;&lt;P&gt;I get error&amp;nbsp; "Object required: 'doc.Variables(...)'"....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Dec 2011 12:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224866#M77228</guid>
      <dc:creator>xtrimf</dc:creator>
      <dc:date>2011-12-04T12:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to Export variables declare in variable overview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224867#M77229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure you have the variable defined that holds the path to your export location. In this case, define vExportTo in your app. (Ctrl-V is the shortcut to the variable list)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Dec 2011 15:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224867#M77229</guid>
      <dc:creator />
      <dc:date>2011-12-04T15:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Export variables declare in variable overview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224868#M77230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tnx &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;it work now perfectly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Dec 2011 17:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224868#M77230</guid>
      <dc:creator>xtrimf</dc:creator>
      <dc:date>2011-12-04T17:03:05Z</dc:date>
    </item>
    <item>
      <title>How to Export variables declare in variable overview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224869#M77231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using AxQlikOCX to export all variables with name and value. This is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Doc = AxQlikOCX.Application.OpenDocEx([Path to QVW-document], 1, False, , , , True)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dim vars&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dim v&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vars = Doc.GetVariableDescriptions&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For i As Integer = 0 To vars.count - 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v = vars.item(i)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; debug.print v.Name &amp;amp; " = " &amp;amp;&amp;nbsp; v.RawValue&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Next&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the name but value is empty!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 10:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224869#M77231</guid>
      <dc:creator />
      <dc:date>2011-12-12T10:52:06Z</dc:date>
    </item>
    <item>
      <title>How to Export variables declare in variable overview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224870#M77232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Guys... the parameter "no data" was TRUE... D'oh! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 11:00:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224870#M77232</guid>
      <dc:creator />
      <dc:date>2011-12-12T11:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Export variables declare in variable overview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224871#M77233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tammy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am getting "Permission Denied" when running this macro at the following line:&lt;/P&gt;&lt;P&gt;set logFile = fso.CreateTextFile(vExportTo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Module and Local security set to System Access and Allow System Access, respectively. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure why it's not working.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 21:02:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224871#M77233</guid>
      <dc:creator>gshockxcc</dc:creator>
      <dc:date>2015-06-25T21:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to Export variables declare in variable overview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224872#M77234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi-&lt;/P&gt;&lt;P&gt;perhaps it's a file-system permissions issue?  does your id have permission&lt;/P&gt;&lt;P&gt;to write to the location in vExportTo ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Thu, Jun 25, 2015 at 5:03 PM, Kristan Sears &amp;lt;qcwebmaster@qlikview.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 22:17:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224872#M77234</guid>
      <dc:creator />
      <dc:date>2015-06-25T22:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to Export variables declare in variable overview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224873#M77235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do have permissions to that file location.&amp;nbsp; I tried on two different computers and had the same result.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 13:07:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224873#M77235</guid>
      <dc:creator>gshockxcc</dc:creator>
      <dc:date>2015-06-26T13:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to Export variables declare in variable overview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224874#M77236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the file export path need to be the same as the path where the Qlikview file resides?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 13:12:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224874#M77236</guid>
      <dc:creator>gshockxcc</dc:creator>
      <dc:date>2015-06-26T13:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Export variables declare in variable overview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224875#M77237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;User error: needed to specify the file name in the Variable Overview.&amp;nbsp; Works great!&amp;nbsp; Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 14:51:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Export-variables-declare-in-variable-overview/m-p/224875#M77237</guid>
      <dc:creator>gshockxcc</dc:creator>
      <dc:date>2015-06-26T14:51:55Z</dc:date>
    </item>
  </channel>
</rss>

