<?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 How do you handle reloads that return no results in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-you-handle-reloads-that-return-no-results/m-p/1061802#M1254544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have an app that once in a blue moon one of the scripts doesn't return data. If we re run the app it loads fine. Now I know there is more research to be done on finding out why that is happening. But for right now, I am being told to come up with a solution to notify someone if a table comes back with zero records. FYI, I am the server admin, not the developer. But in my limited knowledge of the application, I would think there would be a way to fail the reload if a script returns zero rows or less than a certain parameter, or have the script email the admins if it returns zero rows. And maybe it could even reschedule itself to run 10 minutes later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>paputzback</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>How do you handle reloads that return no results</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-handle-reloads-that-return-no-results/m-p/1061802#M1254544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have an app that once in a blue moon one of the scripts doesn't return data. If we re run the app it loads fine. Now I know there is more research to be done on finding out why that is happening. But for right now, I am being told to come up with a solution to notify someone if a table comes back with zero records. FYI, I am the server admin, not the developer. But in my limited knowledge of the application, I would think there would be a way to fail the reload if a script returns zero rows or less than a certain parameter, or have the script email the admins if it returns zero rows. And maybe it could even reschedule itself to run 10 minutes later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-handle-reloads-that-return-no-results/m-p/1061802#M1254544</guid>
      <dc:creator>paputzback</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do you handle reloads that return no results</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-handle-reloads-that-return-no-results/m-p/1061803#M1254546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the function NoOfRows ('tablename')&lt;/P&gt;&lt;P&gt;and check for 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 18:12:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-handle-reloads-that-return-no-results/m-p/1061803#M1254546</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-02-05T18:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do you handle reloads that return no results</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-handle-reloads-that-return-no-results/m-p/1061804#M1254548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this video from &lt;A href="http://qlikcentral.com/2016/01/27/error-trap/"&gt;QlikCentral&lt;/A&gt; helps:&lt;/P&gt;&lt;P&gt;&lt;IFRAME frameborder="0" width="425" height="350" src="https://www.youtube.com/embed/-RTW9zUa4jk" allowfullscreen=""&gt;&lt;/IFRAME&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 18:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-handle-reloads-that-return-no-results/m-p/1061804#M1254548</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-05T18:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do you handle reloads that return no results</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-handle-reloads-that-return-no-results/m-p/1061805#M1254550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customers:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customers;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exit Script When NoOfRows('Customers') = 0;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 18:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-handle-reloads-that-return-no-results/m-p/1061805#M1254550</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-02-05T18:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do you handle reloads that return no results</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-handle-reloads-that-return-no-results/m-p/1061806#M1254552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So a force exit of the script throws an error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 18:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-handle-reloads-that-return-no-results/m-p/1061806#M1254552</guid>
      <dc:creator>paputzback</dc:creator>
      <dc:date>2016-02-05T18:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do you handle reloads that return no results</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-handle-reloads-that-return-no-results/m-p/1061807#M1254553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To also have a wait and retry:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14546968359391912 jive_text_macro" jivemacro_uid="_14546968359391912" modifiedtitle="true"&gt;
&lt;P&gt;Retries = 0;&lt;/P&gt;
&lt;P&gt;DO&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Retries = Retries + 1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customers:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN NoOfRows('Customers') = 0 AND Retries &amp;lt; 5 SLEEP 600000;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Wait 10 minutes before next retry&lt;/P&gt;
&lt;P&gt;LOOP UNTIL Retries = 5 OR NoOfRows('Customers') &amp;gt; 0&lt;/P&gt;
&lt;P&gt;EXIT SCRIPT WHEN NoOfRows('Customers') = 0;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 18:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-handle-reloads-that-return-no-results/m-p/1061807#M1254553</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-02-05T18:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do you handle reloads that return no results</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-handle-reloads-that-return-no-results/m-p/1061808#M1254554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it doesn't ... there is no statement to throw an error really... maybe simulating it by doing something that throws an error - a bit ugly but it works...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 18:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-handle-reloads-that-return-no-results/m-p/1061808#M1254554</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-02-05T18:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do you handle reloads that return no results</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-handle-reloads-that-return-no-results/m-p/1797929#M1254555</link>
      <description>&lt;P&gt;this doesn't work right? The sleep is highlighted in red&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 10:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-handle-reloads-that-return-no-results/m-p/1797929#M1254555</guid>
      <dc:creator>Hemantx</dc:creator>
      <dc:date>2021-04-08T10:37:24Z</dc:date>
    </item>
  </channel>
</rss>

