<?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 Script Error - Field not found in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-Error-Field-not-found/m-p/197464#M57123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed it to the following:&lt;/P&gt;&lt;P&gt;Orders_Tab:&lt;BR /&gt;LOAD&lt;BR /&gt; order_date,&lt;BR /&gt; date(floor(order_date)) AS link_Date,&lt;BR /&gt; date(floor(order_date)) AS Order_Date, //Load it a second time for making date range selections&lt;/P&gt;&lt;P&gt;order_date - yearstart(order_date) + 1 AS OrderDayWithinYear,&lt;BR /&gt; order_date - monthstart(order_date) + 1 AS OrderDayWithinMonth,&lt;/P&gt;&lt;P&gt;OID as OrderId,&lt;BR /&gt; scp_oid as SCP_Id,&lt;BR /&gt; entity_oid as Entity_Id;&lt;BR /&gt;&lt;BR /&gt;SQL&lt;BR /&gt;SELECT oid,trunc(ot.order_date) order_date,ot.scp_oid scp_oid,ot.entity_oid entity_oid from orders_tab ot&lt;BR /&gt;where TRUNC (ot.order_date) BETWEEN TO_DATE ('01/01/2010','MM/DD/YYYY')&lt;BR /&gt;AND to_date(to_char(sysdate,'MM/DD/YYYY'),'MM/DD/YYYY') and ot.order_status&amp;gt;1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still getting the same error...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Sep 2010 19:23:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-10T19:23:45Z</dc:date>
    <item>
      <title>Script Error - Field not found</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Field-not-found/m-p/197461#M57120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi...&lt;/P&gt;&lt;P&gt;I am trying to load a table into qlikview but getting field not found error. The fields exist in the database.&lt;/P&gt;&lt;P&gt;Can someone help me with what I am missing out here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orders_Tab:&lt;BR /&gt;LOAD&lt;BR /&gt;&lt;BR /&gt; date(floor(order_date)) AS link_Date,&lt;BR /&gt; date(floor(order_date)) AS Order_Date, //Load it a second time for making date range selections&lt;/P&gt;&lt;P&gt;order_Date - yearstart(order_Date) + 1 AS OrderDayWithinYear,&lt;BR /&gt; order_Date - monthstart(order_Date) + 1 AS OrderDayWithinMonth,&lt;/P&gt;&lt;P&gt;OID as OrderId,&lt;BR /&gt; scp_oid as SCP_Id,&lt;BR /&gt; entity_oid as Entity_Id;&lt;BR /&gt;&lt;BR /&gt;SQL&lt;BR /&gt;SELECT oid,order_date,scp_oid,entity_oid from orders_tab ot&lt;BR /&gt;where TRUNC (ot.order_date) BETWEEN TO_DATE ('01/01/2010','MM/DD/YYYY')&lt;BR /&gt;AND to_date(to_char(sysdate,'MM/DD/YYYY'),'MM/DD/YYYY') and ot.order_status&amp;gt;1;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;-----------------------Script Error-------------------------------------------------------&lt;/P&gt;&lt;P&gt;Field not found - &amp;lt;order_date&amp;gt;&lt;BR /&gt;SQL&lt;BR /&gt;SELECT oid,order_date,scp_oid,entity_oid from orders_tab ot&lt;BR /&gt;where TRUNC (ot.order_date) BETWEEN TO_DATE ('01/01/2010','MM/DD/YYYY')&lt;BR /&gt;AND to_date(to_char(sysdate,'MM/DD/YYYY'),'MM/DD/YYYY') and ot.order_status&amp;gt;1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 18:56:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Field-not-found/m-p/197461#M57120</guid>
      <dc:creator />
      <dc:date>2010-09-10T18:56:21Z</dc:date>
    </item>
    <item>
      <title>Script Error - Field not found</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Field-not-found/m-p/197462#M57121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kumar,&lt;/P&gt;&lt;P&gt;Make sure you are loading the name of the field properly, as fields are case sensitive (order_date is not equal to Order_Date). As the field has the underscore, make sure also that it doesn't have to be enclosed in some way.&lt;/P&gt;&lt;P&gt;Did you try the sql query as it is and it returned results?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 19:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Field-not-found/m-p/197462#M57121</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-09-10T19:16:14Z</dc:date>
    </item>
    <item>
      <title>Script Error - Field not found</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Field-not-found/m-p/197463#M57122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You change the case of the "d" in order_date on the 3rd and 4th fields in the load:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;order_Date - yearstart(order_Date) + 1 AS OrderDayWithinYear,&lt;BR /&gt; order_Date - monthstart(order_Date) + 1 AS OrderDayWithinMonth&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;should be&lt;/P&gt;&lt;P&gt;&lt;EM&gt;order_date - yearstart(order_date) + 1 AS OrderDayWithinYear,&lt;BR /&gt; order_date - monthstart(order_date) + 1 AS OrderDayWithinMonth&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;so that the case is the same as the SQL select&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 19:20:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Field-not-found/m-p/197463#M57122</guid>
      <dc:creator />
      <dc:date>2010-09-10T19:20:09Z</dc:date>
    </item>
    <item>
      <title>Script Error - Field not found</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Field-not-found/m-p/197464#M57123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed it to the following:&lt;/P&gt;&lt;P&gt;Orders_Tab:&lt;BR /&gt;LOAD&lt;BR /&gt; order_date,&lt;BR /&gt; date(floor(order_date)) AS link_Date,&lt;BR /&gt; date(floor(order_date)) AS Order_Date, //Load it a second time for making date range selections&lt;/P&gt;&lt;P&gt;order_date - yearstart(order_date) + 1 AS OrderDayWithinYear,&lt;BR /&gt; order_date - monthstart(order_date) + 1 AS OrderDayWithinMonth,&lt;/P&gt;&lt;P&gt;OID as OrderId,&lt;BR /&gt; scp_oid as SCP_Id,&lt;BR /&gt; entity_oid as Entity_Id;&lt;BR /&gt;&lt;BR /&gt;SQL&lt;BR /&gt;SELECT oid,trunc(ot.order_date) order_date,ot.scp_oid scp_oid,ot.entity_oid entity_oid from orders_tab ot&lt;BR /&gt;where TRUNC (ot.order_date) BETWEEN TO_DATE ('01/01/2010','MM/DD/YYYY')&lt;BR /&gt;AND to_date(to_char(sysdate,'MM/DD/YYYY'),'MM/DD/YYYY') and ot.order_status&amp;gt;1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still getting the same error...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 19:23:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Field-not-found/m-p/197464#M57123</guid>
      <dc:creator />
      <dc:date>2010-09-10T19:23:45Z</dc:date>
    </item>
    <item>
      <title>Script Error - Field not found</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Field-not-found/m-p/197465#M57124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Wait help you ...&lt;/P&gt;&lt;P&gt;When I use select with AS400 upper or lower case no important, but at load must be upper case&lt;/P&gt;&lt;P&gt;Then to CHANGE order_date by ORDER_DATE in script, then test&lt;/P&gt;&lt;P&gt;good luck, Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 19:24:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Field-not-found/m-p/197465#M57124</guid>
      <dc:creator>llauses243</dc:creator>
      <dc:date>2010-09-10T19:24:02Z</dc:date>
    </item>
    <item>
      <title>Script Error - Field not found</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Field-not-found/m-p/197466#M57125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your inputs Miguel &amp;amp; Cowboy: I dint know that the script was case sensitive&lt;/P&gt;&lt;P&gt;Thanks IIauses: Your trick worked...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 19:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Field-not-found/m-p/197466#M57125</guid>
      <dc:creator />
      <dc:date>2010-09-10T19:30:38Z</dc:date>
    </item>
    <item>
      <title>Script Error - Field not found</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error-Field-not-found/m-p/197467#M57126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a side note and not really related to the issue but if you are using the pl/sql function trunc() on your date then you shouldnt really need the QV floor() function in the load as trunc by default should only return the date, seems like double work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 19:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error-Field-not-found/m-p/197467#M57126</guid>
      <dc:creator />
      <dc:date>2010-09-10T19:39:19Z</dc:date>
    </item>
  </channel>
</rss>

