<?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 AW:Re: AW:FOR EACH load error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FOR-EACH-load-error/m-p/183632#M48815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be the file name in the store command is the reason for this error message.&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Store OLATPOSTCODE into 'C:\Userwork\OLAT\May 2010 Development\Postcode QVDs\&lt;B&gt;OLATPOSTCODE$(region)&lt;/B&gt;';&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="margin:0px;"&gt;instead of&lt;/P&gt;&lt;P style="margin:0px;"&gt;&lt;/P&gt;&lt;P style="margin:0px;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Store OLATPOSTCODE into 'C:\Userwork\OLAT\May 2010 Development\Postcode QVDs\&lt;B&gt;OLATPOSTCODE' &amp;amp; '$(region)&lt;/B&gt;';&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;I guess you want to have a file named OLATPOSTCODEA if your region is 'A'. But the result of the file name in your script is OLATPOSTCODE' &amp;amp; 'A. May be the characters are a problem for your file system. &lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jonas&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jun 2010 09:38:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-11T09:38:36Z</dc:date>
    <item>
      <title>FOR EACH load error</title>
      <link>https://community.qlik.com/t5/QlikView/FOR-EACH-load-error/m-p/183629#M48812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i'm trying to use a FOR EACH statement in a load script but the scrip fails. Any ideas what's wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;FOR EACH region in 'A','B','D','E','F','G','H','J','K'&lt;BR /&gt;OLATPOSTCODE:&lt;BR /&gt;Load @1 as Seven_digit_Postcode,&lt;BR /&gt; @2 as Eight_digit_PostCode,&lt;BR /&gt; trim(replace(@2,' ' , '')) as Short_Postcode,&lt;BR /&gt; @4 as Term_Date,&lt;BR /&gt; @5 as County_Code,&lt;BR /&gt; @6 as LA_Code,&lt;BR /&gt; @7 as Ward_Code,&lt;BR /&gt; @9 as OS_Lat,&lt;BR /&gt; @10 as OS_Long,&lt;BR /&gt; @12 as SHA,&lt;BR /&gt; @14 as Country,&lt;BR /&gt; @17 as Region_Code&lt;BR /&gt;&lt;BR /&gt;FROM&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(txt, codepage is 1252, no labels, delimiter is ',', msq)&lt;BR /&gt;WHERE @4 = '' and @17 = 'region';&lt;BR /&gt;Store OLATPOSTCODE into 'C:\Userwork\OLAT\May 2010 Development\Postcode QVDs\OLATPOSTCODE' &amp;amp; '$(region)';&lt;BR /&gt;drop table OLATPOSTCODE;&lt;BR /&gt;NEXT&lt;BR /&gt;&lt;/C&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 10:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FOR-EACH-load-error/m-p/183629#M48812</guid>
      <dc:creator />
      <dc:date>2010-06-10T10:04:46Z</dc:date>
    </item>
    <item>
      <title>AW:FOR EACH load error</title>
      <link>https://community.qlik.com/t5/QlikView/FOR-EACH-load-error/m-p/183630#M48813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which error?&lt;/P&gt;&lt;P&gt;The path&lt;/P&gt;&lt;P&gt;C:\Userwork\OLAT\May 2010 Development\Postcode data\Copy of OMSAS CD (to be left unchanged, so that information is backup up)\Data\NSPDF_MAY_2007_EN_100M\NSPDF_MAY_2007_EN_100M.csv]&lt;/P&gt;&lt;P&gt;is rather, well, unconventional. Have you tried with a more simple path?&lt;/P&gt;&lt;P&gt;Rgds,&lt;BR /&gt;Joachim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 10:21:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FOR-EACH-load-error/m-p/183630#M48813</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2010-06-10T10:21:01Z</dc:date>
    </item>
    <item>
      <title>AW:FOR EACH load error</title>
      <link>https://community.qlik.com/t5/QlikView/FOR-EACH-load-error/m-p/183631#M48814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is unconventional but worked fine without the FOR EACH loop. It isn't error message - the script hangs and then the pop up appears saying that the load has failed.&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 11:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FOR-EACH-load-error/m-p/183631#M48814</guid>
      <dc:creator />
      <dc:date>2010-06-10T11:00:46Z</dc:date>
    </item>
    <item>
      <title>AW:Re: AW:FOR EACH load error</title>
      <link>https://community.qlik.com/t5/QlikView/FOR-EACH-load-error/m-p/183632#M48815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be the file name in the store command is the reason for this error message.&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Store OLATPOSTCODE into 'C:\Userwork\OLAT\May 2010 Development\Postcode QVDs\&lt;B&gt;OLATPOSTCODE$(region)&lt;/B&gt;';&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="margin:0px;"&gt;instead of&lt;/P&gt;&lt;P style="margin:0px;"&gt;&lt;/P&gt;&lt;P style="margin:0px;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Store OLATPOSTCODE into 'C:\Userwork\OLAT\May 2010 Development\Postcode QVDs\&lt;B&gt;OLATPOSTCODE' &amp;amp; '$(region)&lt;/B&gt;';&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;I guess you want to have a file named OLATPOSTCODEA if your region is 'A'. But the result of the file name in your script is OLATPOSTCODE' &amp;amp; 'A. May be the characters are a problem for your file system. &lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jonas&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 09:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FOR-EACH-load-error/m-p/183632#M48815</guid>
      <dc:creator />
      <dc:date>2010-06-11T09:38:36Z</dc:date>
    </item>
  </channel>
</rss>

