<?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 Join Excel file to Temp Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-Excel-file-to-Temp-Table/m-p/1326058#M841525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a script that will allow me to pull the header information out of an Outlook .MSG file. The script creates two tables "Header" and "Info". The Info table contains 4 rows, one of which is the Subject of the email. How can I join/match this line to another table I created that includes a subject column and a body column. The body of the email is standard depending on the subject. I created the second table, because I was unable to figure out a way to pull in the body of the email with the first script. So I am trying to now pull in the body info based on the join of the subject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;// The first statement should create a table with three fields named @1, @2 and @3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt; _tmp:&lt;BR /&gt; &lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; *&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;From&lt;/SPAN&gt; &lt;C&gt; (&lt;SPAN style="color: #0000ff;"&gt;txt&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;codepage&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; 1252, &lt;SPAN style="color: #0000ff;"&gt;no&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;labels&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;delimiter&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; '\t', &lt;SPAN style="color: #0000ff;"&gt;msq&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;no&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;eof&lt;/SPAN&gt;);&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp; &lt;SPAN style="color: #008000;"&gt;// Here we filter out fields that are unrelated to those we want to keep&lt;BR /&gt; &lt;/SPAN&gt; &lt;BR /&gt; _tmp2:&lt;BR /&gt; &lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;Subfield&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;@1&lt;/SPAN&gt;, ': ', 1) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Header&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;Subfield&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;@1&lt;/SPAN&gt;, ': ', 2) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Info&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Resident&lt;/SPAN&gt; _tmp&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Where&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;WildMatch&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;@1&lt;/SPAN&gt;, 'From: *', 'To: *', 'Date: *', 'Subject: *');&lt;BR /&gt; &lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;DROP&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;Table&lt;/SPAN&gt; _tmp;&lt;BR /&gt; &lt;/C&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12pt;"&gt;// My table I created&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;CE_EMAIL_MESSAGE:&lt;BR /&gt; &lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="color: #800000;"&gt;Subject&lt;/SPAN&gt;, &lt;BR /&gt; &lt;SPAN style="color: #800000;"&gt;Body&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt; &lt;C&gt;&lt;BR /&gt; (&lt;SPAN style="color: #0000ff;"&gt;ooxml&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;labels&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; Sheet1); &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>mwscott1</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Join Excel file to Temp Table</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Excel-file-to-Temp-Table/m-p/1326058#M841525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a script that will allow me to pull the header information out of an Outlook .MSG file. The script creates two tables "Header" and "Info". The Info table contains 4 rows, one of which is the Subject of the email. How can I join/match this line to another table I created that includes a subject column and a body column. The body of the email is standard depending on the subject. I created the second table, because I was unable to figure out a way to pull in the body of the email with the first script. So I am trying to now pull in the body info based on the join of the subject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;// The first statement should create a table with three fields named @1, @2 and @3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt; _tmp:&lt;BR /&gt; &lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; *&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;From&lt;/SPAN&gt; &lt;C&gt; (&lt;SPAN style="color: #0000ff;"&gt;txt&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;codepage&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; 1252, &lt;SPAN style="color: #0000ff;"&gt;no&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;labels&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;delimiter&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; '\t', &lt;SPAN style="color: #0000ff;"&gt;msq&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;no&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;eof&lt;/SPAN&gt;);&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp; &lt;SPAN style="color: #008000;"&gt;// Here we filter out fields that are unrelated to those we want to keep&lt;BR /&gt; &lt;/SPAN&gt; &lt;BR /&gt; _tmp2:&lt;BR /&gt; &lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;Subfield&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;@1&lt;/SPAN&gt;, ': ', 1) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Header&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;Subfield&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;@1&lt;/SPAN&gt;, ': ', 2) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Info&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Resident&lt;/SPAN&gt; _tmp&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Where&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;WildMatch&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;@1&lt;/SPAN&gt;, 'From: *', 'To: *', 'Date: *', 'Subject: *');&lt;BR /&gt; &lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;DROP&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;Table&lt;/SPAN&gt; _tmp;&lt;BR /&gt; &lt;/C&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12pt;"&gt;// My table I created&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;CE_EMAIL_MESSAGE:&lt;BR /&gt; &lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="color: #800000;"&gt;Subject&lt;/SPAN&gt;, &lt;BR /&gt; &lt;SPAN style="color: #800000;"&gt;Body&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt; &lt;C&gt;&lt;BR /&gt; (&lt;SPAN style="color: #0000ff;"&gt;ooxml&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;labels&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; Sheet1); &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Excel-file-to-Temp-Table/m-p/1326058#M841525</guid>
      <dc:creator>mwscott1</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
  </channel>
</rss>

