<?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: Loading From Multiple HTML Files Where Table Varies in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-From-Multiple-HTML-Files-Where-Table-Varies/m-p/592289#M219618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem is that you are performing a wild card load, so the scripterror will be for the last file attempted - if that was successful, then the scripterror will be 0, even though one or more of the the previous files did experience the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to loop over the files using ForEach vFile in Filelist() syntax - like this pseudocode:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;mapRename1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mapping LOAD ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;mapRename2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mapping LOAD ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Qualify *;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ForEach vFile in Filelist(.....)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD ... FROM @2 ...;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ScriptError &amp;lt;&amp;gt; 0 then&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD ... FROM @1 ...;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;End If&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Unqualify *;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Rename fields using mapRename1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Rename fields using mapRename2;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Concatenate (Table1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * Resident Table2;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table Table2;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The Qualify separate the loaded data into Table1.@1, Table1.@2.... and Table2.@1, Table2.@2, ....&lt;/LI&gt;&lt;LI&gt;Thee mapping tables will need to use these field names for the the "from" name in the mapping table&lt;/LI&gt;&lt;LI&gt;You may need to combine the two mapping tables into a single table&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 May 2014 14:03:56 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2014-05-04T14:03:56Z</dc:date>
    <item>
      <title>Loading From Multiple HTML Files Where Table Varies</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-From-Multiple-HTML-Files-Where-Table-Varies/m-p/592284#M219613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having an issue loading thousands of HTML files into Qlikview. This was initially working until recently, when the data was altered, my original load script looked like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\Source\HTML\*.html]&lt;/P&gt;&lt;P&gt;(html, codepage is 1252, no labels, table is &lt;STRONG&gt;@1&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, the client has altered the data so some of the HTML files now contain a second table at the bottom of the page, pushing the tables of the data I need to extract from to be called &lt;STRONG&gt;@2&lt;/STRONG&gt;. The problem is that not all HTML files will contain this second table so when I changed the load script to what it is below, I get a 'cannot locate table in HTML file' because if the new table isn't present, the information I need is in table &lt;STRONG&gt;@1&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\Source\HTML\*.html]&lt;/P&gt;&lt;P&gt;(html, codepage is 1252, no labels, table is &lt;STRONG&gt;@2&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best way to check for the right table and only load the relevant data in the initial load?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 May 2014 11:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-From-Multiple-HTML-Files-Where-Table-Varies/m-p/592284#M219613</guid>
      <dc:creator>ciaran_mcgowan</dc:creator>
      <dc:date>2014-05-04T11:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Loading From Multiple HTML Files Where Table Varies</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-From-Multiple-HTML-Files-Where-Table-Varies/m-p/592285#M219614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using the Error variables like ErrorMode and ScriptError to &lt;/P&gt;&lt;P&gt;a) disable the Error when the table 2 is not found, so the script continues&lt;/P&gt;&lt;P&gt;b) check the returned ScriptError code and load table 1 when table 2 not exists&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 May 2014 12:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-From-Multiple-HTML-Files-Where-Table-Varies/m-p/592285#M219614</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-05-04T12:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Loading From Multiple HTML Files Where Table Varies</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-From-Multiple-HTML-Files-Where-Table-Varies/m-p/592286#M219615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion. I've set ErrorMode = 0 like you said so Table @2 is now loading, thank you. As for your suggestion about ScriptError, I'm not sure how that would look.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Due to the nature of the HTML tables, I cannot load embedded labels, so each column for both tables are called @1, @2, @3, @4 etc. I can't load all columns from table @1 as the data would then be mixed up. Would your suggestion still be feasible knowing this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thank you. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 May 2014 12:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-From-Multiple-HTML-Files-Where-Table-Varies/m-p/592286#M219615</guid>
      <dc:creator>ciaran_mcgowan</dc:creator>
      <dc:date>2014-05-04T12:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Loading From Multiple HTML Files Where Table Varies</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-From-Multiple-HTML-Files-Where-Table-Varies/m-p/592287#M219616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would do for the field names is to concatenate all the values loaded from @1 into one table, create a mapping table (eg mapRename1) to rename the fields (using &lt;EM&gt;rename fields using mapRename1;&lt;/EM&gt;)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then concatenate the values from @2 into a second table. Create a mapping tables for the @2 fields (mapRename2) to rename @2 fields...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and combine then combine them by concatenating the table from @2 (now with fields renamed) onto the table from @1 (with fields renamed).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 May 2014 13:47:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-From-Multiple-HTML-Files-Where-Table-Varies/m-p/592287#M219616</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-05-04T13:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Loading From Multiple HTML Files Where Table Varies</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-From-Multiple-HTML-Files-Where-Table-Varies/m-p/592288#M219617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like the ScriptError function is not working here. Below is what my script looks like but the data from table @1 is not being loaded:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[..\Source\HTML\*.html]&lt;/P&gt;&lt;P&gt;(html, codepage is 1252, no labels, table is @2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ScriptError &amp;lt;&amp;gt; 0 THEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[..\Source\HTML\*.html]&lt;/P&gt;&lt;P&gt;(html, codepage is 1252, no labels, table is @1);&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to test the function wasn't working, I removed the second load script and replaced it with &lt;STRONG&gt;exit script;&lt;/STRONG&gt;. The entire load script ran to completion i.e. the &lt;STRONG&gt;exit script;&lt;/STRONG&gt; command wasn't executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 May 2014 13:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-From-Multiple-HTML-Files-Where-Table-Varies/m-p/592288#M219617</guid>
      <dc:creator>ciaran_mcgowan</dc:creator>
      <dc:date>2014-05-04T13:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Loading From Multiple HTML Files Where Table Varies</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-From-Multiple-HTML-Files-Where-Table-Varies/m-p/592289#M219618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem is that you are performing a wild card load, so the scripterror will be for the last file attempted - if that was successful, then the scripterror will be 0, even though one or more of the the previous files did experience the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to loop over the files using ForEach vFile in Filelist() syntax - like this pseudocode:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;mapRename1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mapping LOAD ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;mapRename2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mapping LOAD ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Qualify *;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ForEach vFile in Filelist(.....)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD ... FROM @2 ...;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ScriptError &amp;lt;&amp;gt; 0 then&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD ... FROM @1 ...;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;End If&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Unqualify *;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Rename fields using mapRename1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Rename fields using mapRename2;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Concatenate (Table1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * Resident Table2;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table Table2;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The Qualify separate the loaded data into Table1.@1, Table1.@2.... and Table2.@1, Table2.@2, ....&lt;/LI&gt;&lt;LI&gt;Thee mapping tables will need to use these field names for the the "from" name in the mapping table&lt;/LI&gt;&lt;LI&gt;You may need to combine the two mapping tables into a single table&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 May 2014 14:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-From-Multiple-HTML-Files-Where-Table-Varies/m-p/592289#M219618</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-05-04T14:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Loading From Multiple HTML Files Where Table Varies</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-From-Multiple-HTML-Files-Where-Table-Varies/m-p/592290#M219619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your suggestion Jonathan. I ended up going with a very similar approach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ErrorMode=0;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Customer:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD *&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[..\Source\HTML\*.html]&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(html, codepage is 1252, no labels, table is @1)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where len(@36)&amp;gt;1;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Concatenate&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD *&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[..\Source\HTML\*.html]&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(html, codepage is 1252, no labels, table is @2)&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;SET ErrorMode=1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The newly added tables only have 12 fields where the older ones have 36. Because these are being loaded from HTML files, NULL fields are initially loaded as '&lt;STRONG&gt;&amp;amp;nbsp&lt;/STRONG&gt;'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt; (then transformed later) so the last column of the older files (@36) will always contain data. That why I added the "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;where len(@36)&amp;gt;1;&lt;/EM&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks to both of you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 May 2014 14:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-From-Multiple-HTML-Files-Where-Table-Varies/m-p/592290#M219619</guid>
      <dc:creator>ciaran_mcgowan</dc:creator>
      <dc:date>2014-05-04T14:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Loading From Multiple HTML Files Where Table Varies</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-From-Multiple-HTML-Files-Where-Table-Varies/m-p/592291#M219620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you help Jonathan, I really appreciate it. I ended up not going for this approach at all, but instead used a variation of your original post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 May 2014 14:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-From-Multiple-HTML-Files-Where-Table-Varies/m-p/592291#M219620</guid>
      <dc:creator>ciaran_mcgowan</dc:creator>
      <dc:date>2014-05-04T14:15:00Z</dc:date>
    </item>
  </channel>
</rss>

