<?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: using variable in path in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/using-variable-in-path/m-p/661938#M241271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the answer.&amp;nbsp; &lt;/P&gt;&lt;P&gt;It looks like you can't just add a variable to the Variables list.&amp;nbsp; (ie. in Variables list, click "add)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can do this:&amp;nbsp; SET vQvdPath = QVD\;&amp;nbsp; &amp;lt;-- it is then added to the Variables list.&amp;nbsp; Then it's happy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if it's a bug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jul 2014 08:04:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-28T08:04:46Z</dc:date>
    <item>
      <title>using variable in path</title>
      <link>https://community.qlik.com/t5/QlikView/using-variable-in-path/m-p/661934#M241267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got&lt;/P&gt;&lt;P&gt;Load...&lt;/P&gt;&lt;P&gt;FROM $(vQvdPath) &amp;amp; '\my_QVD_Data_File.QVD'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my variable vQvdPath has: QVD\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to change my vQvdPath easily, that's why I used this variable.&amp;nbsp; What am I doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 06:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-variable-in-path/m-p/661934#M241267</guid>
      <dc:creator />
      <dc:date>2014-07-28T06:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: using variable in path</title>
      <link>https://community.qlik.com/t5/QlikView/using-variable-in-path/m-p/661935#M241268</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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROM [$(vQvdPath)\my_QVD_Data_File.QVD] (qvd)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jonathan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 06:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-variable-in-path/m-p/661935#M241268</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-07-28T06:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: using variable in path</title>
      <link>https://community.qlik.com/t5/QlikView/using-variable-in-path/m-p/661936#M241269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Jonathan, unfortunately, it doesn't like the square brackets.&amp;nbsp; I've also tried '[' &amp;amp; $(vQvdPath).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is:&lt;/P&gt;&lt;P&gt;Cannot open file 'C:\.....' The filename, directory name, or volume label syntax is incorrect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 07:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-variable-in-path/m-p/661936#M241269</guid>
      <dc:creator />
      <dc:date>2014-07-28T07:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: using variable in path</title>
      <link>https://community.qlik.com/t5/QlikView/using-variable-in-path/m-p/661937#M241270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use what Jonathan said just without the \&lt;/P&gt;&lt;P&gt;So:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROM [$(vQvdPath)my_QVD_Data_File.QVD] (qvd)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;as your path has the \ already&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Joe&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 08:02:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-variable-in-path/m-p/661937#M241270</guid>
      <dc:creator />
      <dc:date>2014-07-28T08:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: using variable in path</title>
      <link>https://community.qlik.com/t5/QlikView/using-variable-in-path/m-p/661938#M241271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the answer.&amp;nbsp; &lt;/P&gt;&lt;P&gt;It looks like you can't just add a variable to the Variables list.&amp;nbsp; (ie. in Variables list, click "add)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can do this:&amp;nbsp; SET vQvdPath = QVD\;&amp;nbsp; &amp;lt;-- it is then added to the Variables list.&amp;nbsp; Then it's happy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if it's a bug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 08:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-variable-in-path/m-p/661938#M241271</guid>
      <dc:creator />
      <dc:date>2014-07-28T08:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: using variable in path</title>
      <link>https://community.qlik.com/t5/QlikView/using-variable-in-path/m-p/661939#M241272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no you can't just add like that and no it's not a bug, only variables created in the script can be used in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;glad you found the answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 08:10:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-variable-in-path/m-p/661939#M241272</guid>
      <dc:creator />
      <dc:date>2014-07-28T08:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: using variable in path</title>
      <link>https://community.qlik.com/t5/QlikView/using-variable-in-path/m-p/661940#M241273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks JoeSimmons for clarifying &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&amp;nbsp; I hadn't realised that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 08:16:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-variable-in-path/m-p/661940#M241273</guid>
      <dc:creator />
      <dc:date>2014-07-28T08:16:19Z</dc:date>
    </item>
  </channel>
</rss>

