<?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 $ (dollar symbol) inside a variable script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/dollar-symbol-inside-a-variable-script/m-p/278703#M709461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I put your code snippet in a script an debug, it seems that your variable is correctly placed in:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE mytable INTO \\server\datafiles$\qdstorage\mytable.qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(so I don't see a problem with variable evaluation here):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this path really a valid path in your system? What if you just try the hardcoded full path like above? Does this work then?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2011 11:01:59 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-10-27T11:01:59Z</dc:date>
    <item>
      <title>$ (dollar symbol) inside a variable script</title>
      <link>https://community.qlik.com/t5/QlikView/dollar-symbol-inside-a-variable-script/m-p/278699#M709457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the load script I need to use a variable containing an absolute path with a $ dollar symbol: it not runs, I think the problem is Qlik interprets it as a special symbol for returning a variable value.&lt;/P&gt;&lt;P&gt;For instance I try to run:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET myvar = '\\server\datafiles$\qdstorage";&lt;/P&gt;&lt;P&gt;STORE mytable INTO $(myvar)\mytable.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no error is returned, but the script stop there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to mask the $ symbol in order to use it inside a string variable ?&lt;/P&gt;&lt;P&gt;Any other suggestion ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for helping people.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 10:07:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dollar-symbol-inside-a-variable-script/m-p/278699#M709457</guid>
      <dc:creator>lucarizziero</dc:creator>
      <dc:date>2011-10-27T10:07:13Z</dc:date>
    </item>
    <item>
      <title>$ (dollar symbol) inside a variable script</title>
      <link>https://community.qlik.com/t5/QlikView/dollar-symbol-inside-a-variable-script/m-p/278700#M709458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if its a typo but you are quoting the SET with a single quote and end it with a double?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is just a typo, how about using chr(36) which is ASCII decimal for the $ sign? Perhaps:&lt;/P&gt;&lt;P&gt;SET myvar = '\\server\datafiles' &amp;amp; chr(36) &amp;amp; '\qdstorage';&lt;/P&gt;&lt;P&gt;STORE mytable INTO $(myvar)\mytable.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 10:40:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dollar-symbol-inside-a-variable-script/m-p/278700#M709458</guid>
      <dc:creator />
      <dc:date>2011-10-27T10:40:04Z</dc:date>
    </item>
    <item>
      <title>$ (dollar symbol) inside a variable script</title>
      <link>https://community.qlik.com/t5/QlikView/dollar-symbol-inside-a-variable-script/m-p/278701#M709459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you have a syntax error totally unrelated to the $&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have a double quote " at the end of the string. Replace it with a single quote '&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 10:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dollar-symbol-inside-a-variable-script/m-p/278701#M709459</guid>
      <dc:creator>chriscammers</dc:creator>
      <dc:date>2011-10-27T10:41:48Z</dc:date>
    </item>
    <item>
      <title>$ (dollar symbol) inside a variable script</title>
      <link>https://community.qlik.com/t5/QlikView/dollar-symbol-inside-a-variable-script/m-p/278702#M709460</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 correct it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET myvar = '\\server\datafiles$\qdstorage';&lt;/P&gt;&lt;P&gt;STORE mytable INTO $(myvar)\mytable.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the result is the same,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try:&lt;/P&gt;&lt;P&gt;STORE mytable INTO c:\server\datafile\qdstorage\mytable.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it runs correctly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 10:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dollar-symbol-inside-a-variable-script/m-p/278702#M709460</guid>
      <dc:creator>lucarizziero</dc:creator>
      <dc:date>2011-10-27T10:41:48Z</dc:date>
    </item>
    <item>
      <title>$ (dollar symbol) inside a variable script</title>
      <link>https://community.qlik.com/t5/QlikView/dollar-symbol-inside-a-variable-script/m-p/278703#M709461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I put your code snippet in a script an debug, it seems that your variable is correctly placed in:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE mytable INTO \\server\datafiles$\qdstorage\mytable.qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(so I don't see a problem with variable evaluation here):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this path really a valid path in your system? What if you just try the hardcoded full path like above? Does this work then?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 11:01:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dollar-symbol-inside-a-variable-script/m-p/278703#M709461</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-10-27T11:01:59Z</dc:date>
    </item>
  </channel>
</rss>

