<?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: Chr(39) is giving double quotes in final output in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chr-39-is-giving-double-quotes-in-final-output/m-p/1262298#M862079</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just now I noticed that it is working fine when I am directly loading in QlikView file. But when I trying same in below procedure it is giving wrong output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QVD Generator, for SQL query I need to apply this where Condition. For the same, I created an include script file and created a variable as above and in Generator SQL query I written where condition as MARKET IN '$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vVariableTest &lt;/SPAN&gt;)' which is giving double quotes when I am checking log files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I cannot share sample file for now, I will try to create one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Polisetti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jan 2017 10:00:01 GMT</pubDate>
    <dc:creator>polisetti</dc:creator>
    <dc:date>2017-01-03T10:00:01Z</dc:date>
    <item>
      <title>Chr(39) is giving double quotes in final output</title>
      <link>https://community.qlik.com/t5/QlikView/Chr-39-is-giving-double-quotes-in-final-output/m-p/1262295#M862076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to pull data only for few Markets and I don't want to hardcode the values in Where condition. So, I created a variable like below using Chr(39) which should populate single quote in output. However, I am observing double quotes in output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Code:&lt;/P&gt;&lt;P&gt;vVariableTest&amp;nbsp; = Chr(40)&amp;amp;Chr(39)&amp;amp;'&lt;STRONG&gt;M157&lt;/STRONG&gt;'&amp;amp;chr(39)&amp;amp;Chr(44)&amp;amp;chr(39)&amp;amp;'&lt;STRONG&gt;M291&lt;/STRONG&gt;'&amp;amp;chr(39)&amp;amp;Chr(44)&amp;amp;chr(39)&amp;amp;'&lt;STRONG&gt;M316&lt;/STRONG&gt;'&amp;amp;chr(39)&amp;amp;Chr(44)&amp;amp;chr(39)&amp;amp;'&lt;STRONG&gt;M689&lt;/STRONG&gt;'&amp;amp;chr(39)&amp;amp;Chr(41);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Required Output:&lt;/P&gt;&lt;P&gt;('M157','M291','M316','M689')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current Output:&lt;/P&gt;&lt;P&gt;'(''&lt;SPAN style="font-size: 13.3333px;"&gt;M157&lt;/SPAN&gt;'',''&lt;SPAN style="font-size: 13.3333px;"&gt;M291&lt;/SPAN&gt;'',''&lt;SPAN style="font-size: 13.3333px;"&gt;M316&lt;/SPAN&gt;'',''&lt;SPAN style="font-size: 13.3333px;"&gt;M689&lt;/SPAN&gt;'')'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Polisetti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chr-39-is-giving-double-quotes-in-final-output/m-p/1262295#M862076</guid>
      <dc:creator>polisetti</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Chr(39) is giving double quotes in final output</title>
      <link>https://community.qlik.com/t5/QlikView/Chr-39-is-giving-double-quotes-in-final-output/m-p/1262296#M862077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried your code and its giving the right results for me ..&lt;/P&gt;&lt;P&gt;could you please share the sample app ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 09:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chr-39-is-giving-double-quotes-in-final-output/m-p/1262296#M862077</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-01-03T09:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Chr(39) is giving double quotes in final output</title>
      <link>https://community.qlik.com/t5/QlikView/Chr-39-is-giving-double-quotes-in-final-output/m-p/1262297#M862078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On my version (v12) it is working absolutely fine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 09:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chr-39-is-giving-double-quotes-in-final-output/m-p/1262297#M862078</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-01-03T09:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Chr(39) is giving double quotes in final output</title>
      <link>https://community.qlik.com/t5/QlikView/Chr-39-is-giving-double-quotes-in-final-output/m-p/1262298#M862079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just now I noticed that it is working fine when I am directly loading in QlikView file. But when I trying same in below procedure it is giving wrong output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QVD Generator, for SQL query I need to apply this where Condition. For the same, I created an include script file and created a variable as above and in Generator SQL query I written where condition as MARKET IN '$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vVariableTest &lt;/SPAN&gt;)' which is giving double quotes when I am checking log files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I cannot share sample file for now, I will try to create one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Polisetti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 10:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chr-39-is-giving-double-quotes-in-final-output/m-p/1262298#M862079</guid>
      <dc:creator>polisetti</dc:creator>
      <dc:date>2017-01-03T10:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Chr(39) is giving double quotes in final output</title>
      <link>https://community.qlik.com/t5/QlikView/Chr-39-is-giving-double-quotes-in-final-output/m-p/1262299#M862080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing wrong when writing the Variable value in SQL query. It should be &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vVariableTest &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;) not &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'$(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vVariableTest &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)' .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Now I am getting the values as expected. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Polisetti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 10:11:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chr-39-is-giving-double-quotes-in-final-output/m-p/1262299#M862080</guid>
      <dc:creator>polisetti</dc:creator>
      <dc:date>2017-01-03T10:11:10Z</dc:date>
    </item>
  </channel>
</rss>

