<?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 Export a table from script into txt or csv format file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-a-table-from-script-into-txt-or-csv-format-file/m-p/252138#M95590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank swuehl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;very, very good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 11 Sep 2011 07:55:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-11T07:55:04Z</dc:date>
    <item>
      <title>Export a table from script into txt or csv format file</title>
      <link>https://community.qlik.com/t5/QlikView/Export-a-table-from-script-into-txt-or-csv-format-file/m-p/252136#M95588</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;somebody can help me? &lt;/P&gt;&lt;P&gt;This is my question:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;How do I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;export a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;table&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;directly from the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;QlikView&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;script&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;txt or&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;csv&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;file&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Sep 2011 10:02:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-a-table-from-script-into-txt-or-csv-format-file/m-p/252136#M95588</guid>
      <dc:creator />
      <dc:date>2011-09-10T10:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Export a table from script into txt or csv format file</title>
      <link>https://community.qlik.com/t5/QlikView/Export-a-table-from-script-into-txt-or-csv-format-file/m-p/252137#M95589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sbuzi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please take a look at this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(From the HELP):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;Store&lt;/H1&gt;&lt;P&gt;A QVD or a CSV file can be created by a &lt;SPAN class="Bold"&gt;store&lt;/SPAN&gt; statement in the script. The statement will create an explicitly named QVD or CSV file. The statement can only export fields from one logical table. The text values are exported to the CSV file in UTF-8 format. A delimiter can be specified, see &lt;A _jive_internal="true" href="https://community.qlik.com/Load.htm"&gt;load&lt;/A&gt;. The &lt;SPAN class="Bold"&gt;store&lt;/SPAN&gt; statement to a CSV file does not support BIFF export.&lt;/P&gt;&lt;H4&gt;store &lt;SPAN style="font-style: italic;"&gt;[ *fieldlist&amp;nbsp; &lt;/SPAN&gt;from&lt;SPAN style="font-style: italic;"&gt;] table&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;into&lt;SPAN style="font-style: italic;"&gt; filename [ format-spec ];&lt;/SPAN&gt;&lt;/H4&gt;&lt;P&gt;where:&lt;/P&gt;&lt;P style="font-style: italic;"&gt;*fieldlist::= ( &lt;SPAN style="font-size: 11pt;"&gt;*&lt;/SPAN&gt; | field ) { , field } ) &lt;SPAN style="font-style: normal;"&gt;- A list of the fields to be selected. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-style: italic;"&gt;&lt;SPAN style="font-style: normal;"&gt;Using &lt;/SPAN&gt;&lt;SPAN style="font-style: normal; font-size: 11pt;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="font-style: normal;"&gt; selects all fields&lt;/SPAN&gt;&lt;SPAN style="font-style: normal;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-style: italic;"&gt;field::= fieldname [ &lt;SPAN style="font-style: normal; font-weight: bold;"&gt;as&lt;/SPAN&gt; aliasname ]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;format-spec ::= &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt; ( &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;txt&lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt; | &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt; ) &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;The format specification consists of a the text &lt;SPAN class="Bold"&gt;txt&lt;/SPAN&gt; for text files, or the text &lt;SPAN class="Bold"&gt;qvd&lt;/SPAN&gt; for qvd files. If the format specification is omitted, &lt;SPAN class="Bold"&gt;qvd&lt;/SPAN&gt; is assumed.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;fieldname&lt;/SPAN&gt; is a text that is identical to a field name in the &lt;SPAN style="font-style: italic;"&gt;table&lt;/SPAN&gt;. (Note that the field name must be enclosed by straight double &lt;A _jive_internal="true" href="https://community.qlik.com/Quotation_marks.htm"&gt;quotation marks&lt;/A&gt; or square brackets if it contains e.g. spaces.)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;aliasname&lt;/SPAN&gt; is an alternate name for the field to be used in the resulting QVD or CSV file.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;table&lt;/SPAN&gt; is a script labeled, already loaded table to be used as source for data.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;filename&lt;/SPAN&gt; is the name of the target file. The interpretation of file name is similar to names in &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; statements, i.e. the &lt;SPAN class="Bold"&gt;directory&lt;/SPAN&gt; statements apply.&lt;/P&gt;&lt;H2&gt;Examples:&lt;/H2&gt;&lt;P style="font-weight: bold;"&gt;Store mytable into xyz.qvd (qvd);&lt;/P&gt;&lt;P style="font-weight: bold;"&gt;Store &lt;SPAN style="font-size: 11pt;"&gt;*&lt;/SPAN&gt; from mytable into xyz.qvd;&lt;/P&gt;&lt;P style="font-weight: bold;"&gt;Store Name, RegNo from mytable into xyz.qvd;&lt;/P&gt;&lt;P style="font-weight: bold;"&gt;Store Name as a, RegNo as b from mytable into xyz.qvd;&lt;/P&gt;&lt;P style="font-weight: bold;"&gt;&lt;SPAN class="Bold"&gt;store mytable into myfile.txt (txt);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: bold;"&gt;store * from mytable into myfile.txt (txt);&lt;/P&gt;&lt;P&gt;(The two first examples have identical function.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Sep 2011 10:23:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-a-table-from-script-into-txt-or-csv-format-file/m-p/252137#M95589</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-09-10T10:23:57Z</dc:date>
    </item>
    <item>
      <title>Export a table from script into txt or csv format file</title>
      <link>https://community.qlik.com/t5/QlikView/Export-a-table-from-script-into-txt-or-csv-format-file/m-p/252138#M95590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank swuehl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;very, very good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Sep 2011 07:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-a-table-from-script-into-txt-or-csv-format-file/m-p/252138#M95590</guid>
      <dc:creator />
      <dc:date>2011-09-11T07:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Export a table from script into txt or csv format file</title>
      <link>https://community.qlik.com/t5/QlikView/Export-a-table-from-script-into-txt-or-csv-format-file/m-p/1637782#M446949</link>
      <description>&lt;P&gt;I was able to save my file, but all the information was saved in just one column. Is it possible to save using script and get a regular one header one column in csv type file ?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 12:05:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-a-table-from-script-into-txt-or-csv-format-file/m-p/1637782#M446949</guid>
      <dc:creator>El_Davidus</dc:creator>
      <dc:date>2019-10-21T12:05:54Z</dc:date>
    </item>
  </channel>
</rss>

