<?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: Store txt with header row in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674851#M449693</link>
    <description>&lt;P&gt;What is the source of the table?&lt;/P&gt;&lt;P&gt;Is it Excel or database table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2020 14:17:31 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2020-02-12T14:17:31Z</dc:date>
    <item>
      <title>Store txt with header row</title>
      <link>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674825#M449685</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have created a table that stores multiple fields&amp;nbsp;into a txt file.&lt;/P&gt;&lt;P&gt;I need to add a 'header row' above the current fields as this txt file is loaded into a system that uses the header row as an indication of what to do with the file. My delimiter is '|'.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Header1|Header2|Header3|Header4&lt;/P&gt;&lt;P&gt;Field1|Field2|Field3|Field4|Field5|Field6|Field7|Field8|Field9|Field10&lt;/P&gt;&lt;P&gt;Does anyone know how I add a header row in the script?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:07:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674825#M449685</guid>
      <dc:creator>joegrant55</dc:creator>
      <dc:date>2024-11-16T19:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Store txt with header row</title>
      <link>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674828#M449686</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How are you storing this table in txt file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 13:37:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674828#M449686</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2020-02-12T13:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Store txt with header row</title>
      <link>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674829#M449687</link>
      <description>&lt;P&gt;Like so:&lt;/P&gt;&lt;P&gt;TableExample:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;FIELD1&lt;/P&gt;&lt;P&gt;&amp;nbsp;FIELD2&lt;/P&gt;&lt;P&gt;&amp;nbsp;FIELD3 etc.&lt;/P&gt;&lt;P&gt;From source&lt;/P&gt;&lt;P&gt;Store TableExample into TableExample.txt(txt);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 13:41:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674829#M449687</guid>
      <dc:creator>joegrant55</dc:creator>
      <dc:date>2020-02-12T13:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Store txt with header row</title>
      <link>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674833#M449688</link>
      <description>&lt;P&gt;Apologies the store part is like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Store TableExample into TableExample.txt (txt, delimiter is '|');&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 13:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674833#M449688</guid>
      <dc:creator>joegrant55</dc:creator>
      <dc:date>2020-02-12T13:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Store txt with header row</title>
      <link>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674835#M449689</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You should give delimiter like below and it should work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Store [TableName] into [Path]\[FileName].Txt(&lt;SPAN&gt;txt, delimiter is '|');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 13:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674835#M449689</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2020-02-12T13:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Store txt with header row</title>
      <link>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674836#M449690</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When i performed the same thing, I could see the headers (Field Name) in the file.&lt;/P&gt;&lt;P&gt;Dont you see them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 13:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674836#M449690</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2020-02-12T13:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Store txt with header row</title>
      <link>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674846#M449692</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Yes I see them but as per my example I need another row above the field name headers made up of different names.&lt;/P&gt;&lt;P&gt;Header1|Header2|Header3|Header4&lt;/P&gt;&lt;P&gt;FieldName1|FieldName2|FieldName3|FieldName4|FieldName5|FieldName6|FieldName7&lt;/P&gt;&lt;P&gt;I have attached a txt document example also.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 14:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674846#M449692</guid>
      <dc:creator>joegrant55</dc:creator>
      <dc:date>2020-02-12T14:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Store txt with header row</title>
      <link>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674851#M449693</link>
      <description>&lt;P&gt;What is the source of the table?&lt;/P&gt;&lt;P&gt;Is it Excel or database table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 14:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674851#M449693</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2020-02-12T14:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Store txt with header row</title>
      <link>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674855#M449694</link>
      <description>&lt;P&gt;It has been created using&amp;nbsp;multiple&amp;nbsp;qvds and&amp;nbsp;xlsx and then stored as a csv.&lt;/P&gt;&lt;P&gt;This csv.&amp;nbsp;is then loaded, edited and saved as a txt file.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 14:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674855#M449694</guid>
      <dc:creator>joegrant55</dc:creator>
      <dc:date>2020-02-12T14:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Store txt with header row</title>
      <link>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674874#M449696</link>
      <description>&lt;P&gt;You can do one thing.&lt;/P&gt;&lt;P&gt;Store that data in a temporary text file, similar to what you are doing currently.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Store [TableName] into [Path]\[FileName].Txt(&lt;/SPAN&gt;&lt;SPAN&gt;txt, delimiter is '|');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now write the load script to load this txt file (Newly created one in above step).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Your load statement should look like below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data:&lt;BR /&gt;LOAD @1 as Header1,&lt;BR /&gt;@2 as Header2,&lt;BR /&gt;@3 as Header3,&lt;BR /&gt;@4 as Header4&lt;BR /&gt;&lt;BR /&gt;FROM&lt;BR /&gt;Path\Filename&lt;BR /&gt;(txt, codepage is 1252, no labels, delimiter is '|', msq);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And store this using normal Store command.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 14:47:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674874#M449696</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2020-02-12T14:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Store txt with header row</title>
      <link>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674924#M449701</link>
      <description>&lt;P&gt;Thanks this seems to work apart from 1 problem.&lt;/P&gt;&lt;P&gt;I have renamed @1, @2, @3 and @4 to the required header names.&lt;/P&gt;&lt;P&gt;I am now left with @5 to @37 which I don't need. Ideally I need the data in these fields but not the field names. Is there any solution for this issue?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 15:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674924#M449701</guid>
      <dc:creator>joegrant55</dc:creator>
      <dc:date>2020-02-12T15:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Store txt with header row</title>
      <link>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674932#M449702</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;No you cant do that.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 16:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1674932#M449702</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2020-02-12T16:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Store txt with header row</title>
      <link>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1675797#M449764</link>
      <description>&lt;P&gt;Okay, are there any other solutions to my problem? This is part of a daily process which I am automating and this is the only step I have been unable to automate using Qlik.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 13:59:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1675797#M449764</guid>
      <dc:creator>joegrant55</dc:creator>
      <dc:date>2020-02-14T13:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Store txt with header row</title>
      <link>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1683762#M450256</link>
      <description>&lt;P&gt;Joe, what about using PowerShell script in Windows to modify the CSV file after you create it to add the headers that way?&amp;nbsp; You can even call that script from our load script if you allow Execute in the Script Editor for that app, or if you have Publisher,&amp;nbsp; you could create an External Task in Supporting Tasks to launch things after that reload etc...&amp;nbsp; That is likely going to be the best way I think, as I suspect PowerShell should likely be easier to use to do the insert of that into the file than trying to do things via our script.&amp;nbsp; Hopefully this may work.&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 13:13:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-txt-with-header-row/m-p/1683762#M450256</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-03-11T13:13:45Z</dc:date>
    </item>
  </channel>
</rss>

