<?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 Problem with a time_controlled LOAD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-a-time-controlled-LOAD/m-p/564092#M210520</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;in short, my issue is that I have a code that runs fine for the scenarios I already have, but for a new one (exact same structure), the exact same code produces an error.&lt;/P&gt;&lt;P&gt;The only line in my code where I can imagine that happening - I've had difficulties with that in the past - is a bit where I specify that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; NOW(0) &amp;gt; '11:00:00' &amp;lt;&amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is part of a WHERE condition in a LOAD - I want to execute the LOAD only once a day, after 11am (the app where this code is located is reloaded every 3hrs, that's why I need this).&lt;/P&gt;&lt;P&gt;In the past, I always got this to work somehow - it's part of a historization_code that has been running for quite a while now.&lt;BR /&gt;&amp;lt;=&amp;gt; In a new bit I just added yesterday and which doesn't work yet, I edited this to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; FRAC(NOW(0)) &amp;gt; '11:00:00' &amp;lt;&amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and that seems to work?&lt;/P&gt;&lt;P&gt;I just wonder why.&lt;/P&gt;&lt;P&gt;Maybe someone can spot a general error here? The code is doing the exact same thing for four different tables and I'd just like it to be the same code in all four places.&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Feb 2014 08:16:54 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2014-02-25T08:16:54Z</dc:date>
    <item>
      <title>Problem with a time_controlled LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-a-time-controlled-LOAD/m-p/564092#M210520</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;in short, my issue is that I have a code that runs fine for the scenarios I already have, but for a new one (exact same structure), the exact same code produces an error.&lt;/P&gt;&lt;P&gt;The only line in my code where I can imagine that happening - I've had difficulties with that in the past - is a bit where I specify that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; NOW(0) &amp;gt; '11:00:00' &amp;lt;&amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is part of a WHERE condition in a LOAD - I want to execute the LOAD only once a day, after 11am (the app where this code is located is reloaded every 3hrs, that's why I need this).&lt;/P&gt;&lt;P&gt;In the past, I always got this to work somehow - it's part of a historization_code that has been running for quite a while now.&lt;BR /&gt;&amp;lt;=&amp;gt; In a new bit I just added yesterday and which doesn't work yet, I edited this to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; FRAC(NOW(0)) &amp;gt; '11:00:00' &amp;lt;&amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and that seems to work?&lt;/P&gt;&lt;P&gt;I just wonder why.&lt;/P&gt;&lt;P&gt;Maybe someone can spot a general error here? The code is doing the exact same thing for four different tables and I'd just like it to be the same code in all four places.&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 08:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-a-time-controlled-LOAD/m-p/564092#M210520</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-02-25T08:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a time_controlled LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-a-time-controlled-LOAD/m-p/564093#M210521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Curious to use 0 as argument. Refenrece manuel says for Now() function:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;0 Time at previously finished reload (not currently ongoing reload)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 08:20:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-a-time-controlled-LOAD/m-p/564093#M210521</guid>
      <dc:creator />
      <dc:date>2014-02-25T08:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a time_controlled LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-a-time-controlled-LOAD/m-p/564094#M210522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that there is a problem with the two elements you are comparing;&lt;/P&gt;&lt;P&gt;Now(0) returns a date-time while you write only the hour so frac takes the fractionary (probably the hour minute and seconds) and so everithing works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 08:26:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-a-time-controlled-LOAD/m-p/564094#M210522</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-02-25T08:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a time_controlled LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-a-time-controlled-LOAD/m-p/564095#M210523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alessandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems to be working now. Curious, it worked (and works) fine for the other instances.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; @ Fabrice&lt;/P&gt;&lt;P&gt;You're right. I actually need the current time (during the current reload). What parameter would I have to use there? I can't actually find that in the list. Is the app opened when it's automatically being reloaded by the Server?&lt;/P&gt;&lt;P&gt;Curiously, though, as I say, it works fine, so I'd rather not edit around too much without exactly knowing why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt; Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 08:33:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-a-time-controlled-LOAD/m-p/564095#M210523</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-02-25T08:33:36Z</dc:date>
    </item>
  </channel>
</rss>

