<?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: What is FROM_FIELD for? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544986#M203552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Treseco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any example where you used it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Yojas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Oct 2013 05:38:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-30T05:38:45Z</dc:date>
    <item>
      <title>What is FROM_FIELD for?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544984#M203550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've just re-discovered the LOAD ... FROM_FIELD syntax.&amp;nbsp; I even understand it!&amp;nbsp; What I don't understand is why the statement exists.&amp;nbsp; It seems to me that this statement:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @1&lt;/P&gt;&lt;P&gt;FROM_FIELD (MyTable,MyField) (format_spec);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is exactly equivalent to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyField&lt;/P&gt;&lt;P&gt;Resident MyTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me if FROM_FIELD has any advantages over doing a regular LOAD ... Resident?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Angus.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 04:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544984#M203550</guid>
      <dc:creator>gussfish</dc:creator>
      <dc:date>2013-10-30T04:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: What is FROM_FIELD for?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544985#M203551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps, when you tell to face a single field from a 100-fields table would not be as efficient as from a single field itself, becasue the scope of search is optimized in this case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 05:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544985#M203551</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-10-30T05:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: What is FROM_FIELD for?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544986#M203552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Treseco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any example where you used it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Yojas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 05:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544986#M203552</guid>
      <dc:creator />
      <dc:date>2013-10-30T05:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: What is FROM_FIELD for?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544987#M203553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The FROM_FIELD allows you to process an earlier loaded field as if it is a table. See attached example. I don't see much advantage over using the subfield function directly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 07:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544987#M203553</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-30T07:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: What is FROM_FIELD for?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544988#M203554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi G Wassenaar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your example I am not understanding why I am getting 333|c and why I am not getting 1414|n?&lt;/P&gt;&lt;P&gt;Can you please explain me that? and how you write (&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;txt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;utf8&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;explicit&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;delimiter&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; '|', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;msq&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;nbsp; this syntax?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;- Yojas&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 10:17:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544988#M203554</guid>
      <dc:creator />
      <dc:date>2013-10-30T10:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Re: What is FROM_FIELD for?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544989#M203555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, I see your point, G Wassenaar: more precisely, FROM_FIELD allows you to process a previously-loaded field as if each value in it were itself the content of an external data file, parsing each such value in accordance with the format-spec.&amp;nbsp; I observe, too, that the results of parsing all those 'files' are then concatenated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It strikes me that this is particularly useful when each value in an external file is itself structured, complex data.&lt;/P&gt;&lt;P&gt;e.g. a database might have a column in which each value is HTML (containing a &amp;lt;table/&amp;gt; at least, but even an entire &amp;lt;html&amp;gt; document).&amp;nbsp; Here, an SQL SELECT statement will load the values into a table, and LOAD ... FROM_FIELD can then be used to parse those HTML fragments and load a particular table in each of those fragments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A weakness of FROM_FIELD, though, is that if the data containing the source field of the LOAD...FROM_FIELD statement contains another field (e.g. a key field) and that fields values need to be associated with the resulting data, there's no simple way to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Angus.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 03:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544989#M203555</guid>
      <dc:creator>gussfish</dc:creator>
      <dc:date>2013-11-04T03:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: What is FROM_FIELD for?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544990#M203556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your explanation!!&lt;/P&gt;&lt;P&gt;But can you tell me how you write :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[HTMLDoc&amp;lt;html&amp;gt;&amp;lt;body&amp;gt;&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Col1&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Col2&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;123&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;321&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Col1&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Col2&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;456&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;654&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;789&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;987&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;And how you write :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;html&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;codepage&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 1252, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; @1); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Please help me out with this.. Is this the code you got from internet or you write this??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;- Yojas&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 09:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544990#M203556</guid>
      <dc:creator />
      <dc:date>2013-11-11T09:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: What is FROM_FIELD for?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544991#M203557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yojas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I hand-typed the actual HTML myself.&amp;nbsp; If you want to know how to write HTML, there are heaps of tutorials on the Web e.g. &lt;A href="http://www.w3schools.com/html/"&gt;http://www.w3schools.com/html/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;I also hand-typed the HTML's surrounding inline clause i.e. "* inline [HTMLDoc...];"&amp;nbsp; The syntax of the LOAD statement (i.e. the rules for how to write a LOAD statement) is documented in the QlikView Reference Manual.&lt;/LI&gt;&lt;LI&gt;I used QlikView Developer's Table Files wizard to build the format-spec i.e. "html, codepage is 1252, embedded labels, table is @1".&amp;nbsp; To do this, I used Notepad to type the HTML into a text file that I then renamed as 'sample.html'; then, in the QlikView Developer script editor, I pressed the "Table File..." button, selected sample.html, and used the wizard in the usual way to create a LOAD statement for that file.&amp;nbsp; I then copied the format-spec from that LOAD statement.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Angus.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 05:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544991#M203557</guid>
      <dc:creator>gussfish</dc:creator>
      <dc:date>2013-11-13T05:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: What is FROM_FIELD for?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544992#M203558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 06:22:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-FROM-FIELD-for/m-p/544992#M203558</guid>
      <dc:creator />
      <dc:date>2013-11-14T06:22:01Z</dc:date>
    </item>
  </channel>
</rss>

