<?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: Using Exists() in IF Statement in Archived Groups</title>
    <link>https://community.qlik.com/t5/Archived-Groups/Using-Exists-in-IF-Statement/m-p/1240312#M3576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ralf! The quotes was what I needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Nov 2016 22:16:24 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2016-11-28T22:16:24Z</dc:date>
    <item>
      <title>Using Exists() in IF Statement</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Using-Exists-in-IF-Statement/m-p/1240310#M3574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use the Exists() function in an IF Statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF Exists([LogFilePath], '123') THEN&lt;/P&gt;&lt;P&gt;&amp;nbsp; EXIT SUB; // Already processed, skip it&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The IF line throws a general error in all versions of QV I've tested (10, 11, 12).&amp;nbsp; The [LogFilePath] field does exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Help for QV12 Exists states:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;'can be used in the &lt;/SPAN&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt; clause of a &lt;/SPAN&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;LOAD&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt; statement or an &lt;/SPAN&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt; statement."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;The QV11 Help says nothing about where it can be used.&amp;nbsp; So is this a bug (or my coding error) that it won't work in an IF? Or is the Doc wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;-Rob&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2025 14:48:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Using-Exists-in-IF-Statement/m-p/1240310#M3574</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2025-07-23T14:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using Exists() in IF Statement</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Using-Exists-in-IF-Statement/m-p/1240311#M3575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first time I tried to use Exists() outside of LOAD and it seems to work with quoted field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14803707180774800" jivemacro_uid="_14803707180774800" modifiedtitle="true"&gt;
&lt;P&gt;Test:&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;IF Exists('F1', 'B') THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRACE B exists!;&lt;/P&gt;
&lt;P&gt;END IF&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;IF Exists('F1', 'X') THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRACE X exists!;&lt;/P&gt;
&lt;P&gt;END IF&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tested with QV 11.20 SR14&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 22:06:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Using-Exists-in-IF-Statement/m-p/1240311#M3575</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2016-11-28T22:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using Exists() in IF Statement</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Using-Exists-in-IF-Statement/m-p/1240312#M3576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ralf! The quotes was what I needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 22:16:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Using-Exists-in-IF-Statement/m-p/1240312#M3576</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-11-28T22:16:24Z</dc:date>
    </item>
  </channel>
</rss>

