<?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: How to create a fixed field txt file? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-a-fixed-field-txt-file/m-p/1829492#M1214334</link>
    <description>&lt;P&gt;Did you try STORE in Excels like : xlsx(txt)&lt;/P&gt;</description>
    <pubDate>Wed, 18 Aug 2021 15:07:03 GMT</pubDate>
    <dc:creator>tincholiver</dc:creator>
    <dc:date>2021-08-18T15:07:03Z</dc:date>
    <item>
      <title>How to create a fixed field txt file?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-fixed-field-txt-file/m-p/1829489#M1214333</link>
      <description>&lt;P&gt;Hi, the standard "STORE table INTO file.txt (txt)" command stores fields separated by commas.&lt;/P&gt;&lt;P&gt;1. Is there a way to eliminate those commas?&lt;/P&gt;&lt;P&gt;2. Is there a way to get that file with fixed field lengths?&lt;/P&gt;&lt;P&gt;3. Is there a way not to store field labels?&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Current:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Field_1,Field_2,Field_3,Field_4,Field_5&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;S1234,2,000010,000000,24082021&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;S123456789,2,000010,000000,24082021&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Future:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Field_1,Field_2,Field_3,Field_4,Field_5&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;S1234&amp;nbsp; &amp;nbsp; &amp;nbsp;200001000000024082021&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;S123456789200001000000024082021&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 15:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-fixed-field-txt-file/m-p/1829489#M1214333</guid>
      <dc:creator>NenadV</dc:creator>
      <dc:date>2021-08-18T15:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a fixed field txt file?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-fixed-field-txt-file/m-p/1829492#M1214334</link>
      <description>&lt;P&gt;Did you try STORE in Excels like : xlsx(txt)&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 15:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-fixed-field-txt-file/m-p/1829492#M1214334</guid>
      <dc:creator>tincholiver</dc:creator>
      <dc:date>2021-08-18T15:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a fixed field txt file?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-fixed-field-txt-file/m-p/1829498#M1214335</link>
      <description>&lt;P&gt;1 - can be done like this after your store:&amp;nbsp; (txt, delimiter is ' ');&lt;/P&gt;&lt;P&gt;2 - i don't know what you mean by this&lt;/P&gt;&lt;P&gt;3 - there is a nifty workaround: &lt;A href="https://sstoichev.eu/2015/05/02/save-qlikview-table-as-csv-without-header/" target="_self"&gt;Save Qlikview table as csv without header (sstoichev.eu)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 15:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-fixed-field-txt-file/m-p/1829498#M1214335</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-08-18T15:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a fixed field txt file?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-fixed-field-txt-file/m-p/1829510#M1214341</link>
      <description>&lt;P&gt;I don't think delimiter is honored in STORE?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 16:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-fixed-field-txt-file/m-p/1829510#M1214341</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-08-18T16:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a fixed field txt file?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-fixed-field-txt-file/m-p/1829516#M1214342</link>
      <description>&lt;P&gt;It's possible but you will need some additionally efforts like the concatenating of the fields by applying the wanted filling-method to get the fixed-length. Maybe something in this way:&lt;/P&gt;&lt;P&gt;t1: load F1 &amp;amp; repeat(18-len(F1), chr(32)) &amp;amp;&amp;nbsp;F2 &amp;amp; repeat(18-len(F2), chr(32)) as [F1+F2] from X;&lt;/P&gt;&lt;P&gt;let fn = fieldvalue('F1+F2', 1);&lt;/P&gt;&lt;P&gt;t2: noconcatenate load * resident t1 where recno() &amp;gt; 1;&lt;/P&gt;&lt;P&gt;rename fields [F1+F2] to [$(fn)];&lt;/P&gt;&lt;P&gt;store t2 into t2.txt (txt);&lt;BR /&gt;drop tables t1, t2; let fn = null();&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 16:20:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-fixed-field-txt-file/m-p/1829516#M1214342</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-08-18T16:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a fixed field txt file?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-fixed-field-txt-file/m-p/1829518#M1214343</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;&amp;nbsp;I tested store [table] into table.txt&amp;nbsp;&lt;SPAN&gt;(txt, delimiter is ' ') and does store as expected... with a space where you'd normally see comma.&amp;nbsp; At least in my version of QSE Feb 2021.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 16:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-fixed-field-txt-file/m-p/1829518#M1214343</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-08-18T16:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a fixed field txt file?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-fixed-field-txt-file/m-p/1829645#M1214352</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp; Excellent Marcus. Thank you. The only change needed was to replace parameters in the repeat function to be like repeat(chr(32), 18-len(F1)), but that is just for future readers of this great and complete answer.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/146379"&gt;@stevejoyce&lt;/a&gt;&amp;nbsp;Rob was right. I tested this and got the same result. Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gentlemen, all this is greatly appreciated. Take care&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 07:36:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-fixed-field-txt-file/m-p/1829645#M1214352</guid>
      <dc:creator>NenadV</dc:creator>
      <dc:date>2021-08-19T07:36:14Z</dc:date>
    </item>
  </channel>
</rss>

