<?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: Avoiding double quotes when storing table in a text file! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389492#M1163966</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lalit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm afraid the marco was written on site for a client so I don't have access to it, or to anything similar on hand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It used the FileSystemObject and the Write statement.&amp;nbsp; You should be able to find something similar if you search.&amp;nbsp; You could try using the search on &lt;/SPAN&gt;&lt;A class="jive-link-external-small unlinked"&gt;http://askqv.com/&lt;/A&gt;&lt;SPAN&gt; to see if that turns up any suggestions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 May 2014 11:03:17 GMT</pubDate>
    <dc:creator>stevedark</dc:creator>
    <dc:date>2014-05-15T11:03:17Z</dc:date>
    <item>
      <title>Avoiding double quotes when storing table in a text file!</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389484#M1163957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store Table into Data.bat(txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am trying to load the data into a txt file double quotes is getting added along with that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the original contains something like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"\\thrtjh568\qv\server\qvw\Development\QVD\Expense"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When it stores it into a txt file. It stores something like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;""\\thrtjh568\qv\server\qvw\Development\QVD\Expense""&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I eliminated double quotes when storing it in a text file. Please help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;qvforum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 05:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389484#M1163957</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2012-10-08T05:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding double quotes when storing table in a text file!</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389485#M1163958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have already tried that but didn't workout!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 08:46:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389485#M1163958</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2012-10-08T08:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding double quotes when storing table in a text file!</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389486#M1163959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did anyone find an answer to this one?&amp;nbsp; In the past I have got around the problem by doing the store with a FileSystemObject write in a macro - but I've another case come up when I would much rather use a store on load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 16:31:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389486#M1163959</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-01-16T16:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding double quotes when storing table in a text file!</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389487#M1163960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you populating your data from Excel file? It is seen in excel file, can you please try getting data from CSV file instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 12:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389487#M1163960</guid>
      <dc:creator />
      <dc:date>2014-01-17T12:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding double quotes when storing table in a text file!</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389488#M1163961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As it happens the data is coming from Excel - but I'm not sure why that would affect the output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I get a chance I will give this a go.&amp;nbsp; Thanks for the input!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 13:30:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389488#M1163961</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-01-17T13:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding double quotes when storing table in a text file!</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389489#M1163962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It happens with all the fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before the Store, try erasing the ", with replace, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace (text_field, '"', '')&amp;nbsp;&amp;nbsp; (first parameter, the field; second, doble quotes between single quotes; last parameter, only a pair of single quotes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then Store it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 13:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389489#M1163962</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2014-01-17T13:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding double quotes when storing table in a text file!</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389490#M1163963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issues only occur when I have a comma or quote symbol in the data.&amp;nbsp; QlikView tries to make things into a valid CSV file by quoting the values.&amp;nbsp; The issue is though that I am writing out an HTML file with data in, so the quotation marks I have in the code are critical.&amp;nbsp; Removing them as you suggest, with a Replace, would render my HTML incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It feels like there should be parameters to the STORE statement that would handle this - but I've not managed to hit upon the correct syntax yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 15:07:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389490#M1163963</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-01-17T15:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding double quotes when storing table in a text file!</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389491#M1163964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Steve ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will you share the Macro that you used to eliminate the extra double quotes while storing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lalit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 09:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389491#M1163964</guid>
      <dc:creator>lalitinmbd</dc:creator>
      <dc:date>2014-05-15T09:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding double quotes when storing table in a text file!</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389492#M1163966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lalit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm afraid the marco was written on site for a client so I don't have access to it, or to anything similar on hand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It used the FileSystemObject and the Write statement.&amp;nbsp; You should be able to find something similar if you search.&amp;nbsp; You could try using the search on &lt;/SPAN&gt;&lt;A class="jive-link-external-small unlinked"&gt;http://askqv.com/&lt;/A&gt;&lt;SPAN&gt; to see if that turns up any suggestions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 11:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389492#M1163966</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-05-15T11:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding double quotes when storing table in a text file!</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389493#M1163967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my case, once I open the data in csv, I see the double quotes in the original file. Excel seems to hide double quotes that start and end texts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jan 2016 06:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389493#M1163967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-24T06:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding double quotes when storing table in a text file!</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389494#M1163969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! did you find a solution? I have the same problem!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Emma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 13:26:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389494#M1163969</guid>
      <dc:creator>EmmaC</dc:creator>
      <dc:date>2017-08-24T13:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding double quotes when storing table in a text file!</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389495#M1163971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have settled for writing out slightly malformed HTML, by not using double quotes in the text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I am aware there is not a solution.&amp;nbsp; Pushing this thread back into view may turn something up though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 14:51:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389495#M1163971</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2017-08-24T14:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding double quotes when storing table in a text file!</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389496#M1163972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to settle with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: yellow; font-size: 10pt;"&gt;(Get-Content Menu_List.html) | ForEach-Object { $_-replace '""', '"' } | Set-Content Menu_List.html&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This cannot be the solution, though.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;regards, Emma&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 06:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389496#M1163972</guid>
      <dc:creator>EmmaC</dc:creator>
      <dc:date>2017-08-25T06:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding double quotes when storing table in a text file!</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389497#M1163973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this might be helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/269181"&gt;Generating SVG File in Qlikview Issue&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 10:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/389497#M1163973</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2017-08-25T10:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding double quotes when storing table in a text file!</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/1624562#M1163974</link>
      <description>&lt;P&gt;Writing HTML to file can cause one to run into three avoidable problems:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. FIELD TRUNCATION:&lt;/STRONG&gt;&lt;BR /&gt;Generating the HTML using LOAD INLINE will truncate your lines of code on commas which are being treated as field-delimiters.&lt;BR /&gt;We only want a single field, so avoid LOAD *, and most importantly, specify a non-printing-character delimiter:&lt;/P&gt;&lt;P&gt;LET vInlineDelim=CHR(07); // something that will not occur in text eg BEL&lt;/P&gt;&lt;P&gt;EMailOutput:&lt;BR /&gt;LOAD &amp;lt;!DOCTYPE html&amp;gt;&lt;BR /&gt;INLINE [&lt;BR /&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;…… lines of html ….&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;] (DELIMITER IS ‘$(vInlineDelim)’);&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. DOUBLE QUOTES IN THE OUTPUT FILE&lt;/STRONG&gt;&lt;BR /&gt;The next issue is caused by the STORE command, which ‘escapes’ quote marks by double-quoting as it attempts to create a CSV.&lt;BR /&gt;So, remove ALL single &amp;amp; double quotes from your HTML. However, for the HTML-tags still to work, you must also remove ALL SPACES from within tags:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;span style=font-family:Helvetica;font-weight:normal;Font-size:10pt;color:red&amp;gt;&lt;/FONT&gt; will give you Helvetica, red, 10pt.&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;span style=font-family:Helvetica;font-weight:normal;Font-size:10pt;color: red&amp;gt;&lt;/FONT&gt; will give you Helvetica, 10pt but not in red, because of the leading space before “red”.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. COMMAS CAUSING QUOTES AT START AND END OF RECORD&lt;/STRONG&gt;&lt;BR /&gt;Any commas in the table’s field will by default cause STORE to enclose the field in double-quotes. To avoid this, include here also a DELIMITER IS:&lt;BR /&gt;STORE EMailOutput INTO [{filepath}EmailOutput.html] (txt, DELIMITER IS ‘$(vInlineDelim)’);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 09:59:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-double-quotes-when-storing-table-in-a-text-file/m-p/1624562#M1163974</guid>
      <dc:creator>Jonathan_Green</dc:creator>
      <dc:date>2019-09-17T09:59:31Z</dc:date>
    </item>
  </channel>
</rss>

