<?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: Load field fourth record in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-field-fourth-record/m-p/1892250#M10210</link>
    <description>&lt;P class="tgt" data-section="0"&gt;&lt;SPAN class="tgt" data-section="0" data-sentence="0" data-group="0-0"&gt;Dear&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-MVP"&gt;&lt;SPAN class="lia-link-navigation lia-page-link lia-link-disabled lia-user-name-link"&gt;&lt;SPAN class="login-bold"&gt;rubenmarin&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="messageEditor_b59e84a696684b_0" class="MessageEditor"&gt;&lt;A id="previewButton_b59e84a696684b_38be3" class="lia-link-navigation lia-message-editor-preview-button" href="https://community.qlik.com/t5/Connectivity-Data-Prep/Load-field-fourth-record/m-p/1892234#" target="_blank"&gt;PREVIEW&lt;/A&gt;&lt;/DIV&gt;
&lt;P class="tgt" data-section="1"&gt;Thank you for reply&lt;BR /&gt;I want to load the fields from the third line, not just the third line. Because I'm going to use the third line as the fields,The third row field is then split into columns.&lt;/P&gt;
&lt;P class="tgt" data-section="2"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LT22.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/72166i518D6FB39BCF34EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="LT22.PNG" alt="LT22.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 12 Feb 2022 13:42:40 GMT</pubDate>
    <dc:creator>qingkong</dc:creator>
    <dc:date>2022-02-12T13:42:40Z</dc:date>
    <item>
      <title>Load field fourth record</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-field-fourth-record/m-p/1892227#M10208</link>
      <description>&lt;P class="tgt" data-section="0"&gt;&lt;SPAN class="tgt" data-section="0" data-sentence="0" data-group="0-0"&gt;Respected elder&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="tgt" data-section="1"&gt;&lt;SPAN class="tgt highlight" data-section="1" data-sentence="0" data-group="1-0"&gt;Here is my script loading TXT, I want to directly load the fourth row of data, and use delimiters to separate the columns.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="tgt" data-section="1"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lt22.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/72164iF750891BACF75630/image-size/large?v=v2&amp;amp;px=999" role="button" title="lt22.jpg" alt="lt22.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Feb 2022 10:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-field-fourth-record/m-p/1892227#M10208</guid>
      <dc:creator>qingkong</dc:creator>
      <dc:date>2022-02-12T10:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Load field fourth record</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-field-fourth-record/m-p/1892234#M10209</link>
      <description>&lt;P&gt;Hi, you can change the delimiter to '|', it wouldbe in the 3rd drop down of the top.&lt;/P&gt;
&lt;P&gt;You can also change in script, there you can also set the condition to only load the 4th row:&lt;/P&gt;
&lt;P&gt;(txt, codepage is 28591, embedded labels, delimiter is '|', msq)&lt;BR /&gt;Where RecNo()=4;&lt;/P&gt;
&lt;P&gt;By the screenshot I think you also need to change the headers rwos to 1 instead of 0.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Feb 2022 11:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-field-fourth-record/m-p/1892234#M10209</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-02-12T11:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Load field fourth record</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-field-fourth-record/m-p/1892250#M10210</link>
      <description>&lt;P class="tgt" data-section="0"&gt;&lt;SPAN class="tgt" data-section="0" data-sentence="0" data-group="0-0"&gt;Dear&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-MVP"&gt;&lt;SPAN class="lia-link-navigation lia-page-link lia-link-disabled lia-user-name-link"&gt;&lt;SPAN class="login-bold"&gt;rubenmarin&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="messageEditor_b59e84a696684b_0" class="MessageEditor"&gt;&lt;A id="previewButton_b59e84a696684b_38be3" class="lia-link-navigation lia-message-editor-preview-button" href="https://community.qlik.com/t5/Connectivity-Data-Prep/Load-field-fourth-record/m-p/1892234#" target="_blank"&gt;PREVIEW&lt;/A&gt;&lt;/DIV&gt;
&lt;P class="tgt" data-section="1"&gt;Thank you for reply&lt;BR /&gt;I want to load the fields from the third line, not just the third line. Because I'm going to use the third line as the fields,The third row field is then split into columns.&lt;/P&gt;
&lt;P class="tgt" data-section="2"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LT22.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/72166i518D6FB39BCF34EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="LT22.PNG" alt="LT22.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Feb 2022 13:42:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-field-fourth-record/m-p/1892250#M10210</guid>
      <dc:creator>qingkong</dc:creator>
      <dc:date>2022-02-12T13:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Load field fourth record</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-field-fourth-record/m-p/1892255#M10211</link>
      <description>&lt;P&gt;Hi, just change RecNo()=4 to Recno()&amp;gt;=3.&lt;/P&gt;
&lt;P&gt;Or add more header lines if 3rd line is the field names.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Feb 2022 16:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-field-fourth-record/m-p/1892255#M10211</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-02-12T16:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Load field fourth record</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-field-fourth-record/m-p/1892271#M10212</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have tried it and it is wrong. I have uploaded the attachment&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lt22.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/72170i787D12C66BCA60BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="lt22.jpg" alt="lt22.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Feb 2022 00:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-field-fourth-record/m-p/1892271#M10212</guid>
      <dc:creator>qingkong</dc:creator>
      <dc:date>2022-02-13T00:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Load field fourth record</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-field-fourth-record/m-p/1892289#M10213</link>
      <description>&lt;P&gt;Hi what I meant to say is to change "&lt;SPAN&gt;RecNo()=4" to "Recno()&amp;gt;=3", also to try to change the header.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;At the end you need:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LOAD 
    "TO Number",
    Material,
    "Material Description",
    "Source Stor.Bin",
    SrceTgtQty,
    "Stor. bin",
    S,
    S as S2,
    Typ,
    "Dest. Bin",
    "Mvmt Type",
    "Mvmt Typ",
    User,
    "Created On",
    Conf.t.
FROM [lib://Escritorio/LT22.txt]
(txt, codepage is 28591, embedded labels, delimiter is '|', msq, header is 3 lines)
where ReCno()&amp;gt;=2;
&lt;/LI-CODE&gt;
&lt;P&gt;So, 3 lines of header, the RecNo() &amp;gt;=2 to skipt the line with all dash.&lt;/P&gt;
&lt;P&gt;And set the names of the fields because the file starts with an '|' that will create an empty blank field. And there are two columns called 'S' wich causes an error because there can't be repeated names for columns, so you need to rename one (in this case I renamed the 2nd to S2).&lt;/P&gt;</description>
      <pubDate>Sun, 13 Feb 2022 07:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-field-fourth-record/m-p/1892289#M10213</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-02-13T07:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Load field fourth record</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-field-fourth-record/m-p/1892339#M10214</link>
      <description>&lt;P&gt;Very detailed reply. The problem has been solved. Thank you very much.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 02:17:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-field-fourth-record/m-p/1892339#M10214</guid>
      <dc:creator>qingkong</dc:creator>
      <dc:date>2022-02-14T02:17:37Z</dc:date>
    </item>
  </channel>
</rss>

