<?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: How to handle NULL comparion in qv scrpts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-handle-NULL-comparion-in-qv-scrpts/m-p/1709799#M725871</link>
    <description>&lt;P&gt;I would not recommend using the setting, as that was deprecated in 12.30 track and in 12.40 and later the setting is completely ignored, so the better option is to correct the actual issue.&amp;nbsp; I would think doing an isnull() check and if so, exit the script or something would be a potential way to go I think, but I am not exactly sure what it is you are really doing and that may be why nobody else answered, so some further use case details may be helpful.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jun 2020 14:30:00 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2020-06-10T14:30:00Z</dc:date>
    <item>
      <title>How to handle NULL comparion in qv scrpts</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle-NULL-comparion-in-qv-scrpts/m-p/1702062#M725870</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a typcial case where when NULL is compared in scripts results no error in log files for QV 12.3 Nov2018 edition, where as the same condition returns (Error: Script line error: ) in the document log for QV 11.0.&lt;/P&gt;&lt;P&gt;Example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to compare a max_date with another max_date_N, the script silently complete without any error, which should not be the case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Version: qv12.3 nov 2018&lt;/P&gt;&lt;P&gt;IF &lt;STRONG&gt;&lt;EM&gt;$(vQVDLastPeriod)&lt;/EM&gt;&lt;/STRONG&gt; &amp;lt; &lt;STRONG&gt;&lt;EM&gt;$(&lt;FONT color="#FF0000"&gt;vDBLastPeriod&lt;/FONT&gt;) --&amp;gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;here &lt;FONT color="#FF0000"&gt;qDBLastPeriod&lt;/FONT&gt; returns null, then script silently executes and logs as Execution finished . This will cause isssue in having any entry in last_excution_time in my&amp;nbsp; audit_table.qvd&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Version: qv 11.0&lt;/P&gt;&lt;P&gt;IF &lt;STRONG&gt;&lt;EM&gt;$(vQVDLastPeriod)&lt;/EM&gt;&lt;/STRONG&gt; &amp;lt; &lt;STRONG&gt;&lt;EM&gt;$(&lt;FONT color="#FF0000"&gt;vDBLastPeriod&lt;/FONT&gt;) --&amp;gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;here &lt;FONT color="#FF0000"&gt;qDBLastPeriod&lt;/FONT&gt; returns null, then script failed with error.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I've see this article, but did not understand the work around.&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.qlik.com/articles/000080222?_ga=2.247680450.496770407.1589446614-1640766963.1589445964" target="_blank"&gt;https://support.qlik.com/articles/000080222?_ga=2.247680450.496770407.1589446614-1640766963.1589445964&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Should i make any changes in settings.ini file by disabling &lt;SPAN&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;EnableBnfReload=0)&lt;/STRONG&gt;&lt;/SPAN&gt; and if yes, does this impact existing&amp;nbsp; scripts.&lt;/P&gt;&lt;P&gt;Appreciate if you can help.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:38:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle-NULL-comparion-in-qv-scrpts/m-p/1702062#M725870</guid>
      <dc:creator>Sean_BI</dc:creator>
      <dc:date>2024-11-16T18:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle NULL comparion in qv scrpts</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle-NULL-comparion-in-qv-scrpts/m-p/1709799#M725871</link>
      <description>&lt;P&gt;I would not recommend using the setting, as that was deprecated in 12.30 track and in 12.40 and later the setting is completely ignored, so the better option is to correct the actual issue.&amp;nbsp; I would think doing an isnull() check and if so, exit the script or something would be a potential way to go I think, but I am not exactly sure what it is you are really doing and that may be why nobody else answered, so some further use case details may be helpful.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 14:30:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle-NULL-comparion-in-qv-scrpts/m-p/1709799#M725871</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-06-10T14:30:00Z</dc:date>
    </item>
  </channel>
</rss>

