<?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: Calling NEXT in FOR EACH in multiple location or by condition in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calling-NEXT-in-FOR-EACH-in-multiple-location-or-by-condition/m-p/1732669#M55918</link>
    <description>&lt;P&gt;Thx,&amp;nbsp;&lt;/P&gt;&lt;P&gt;so i thought about this kind of solution,&amp;nbsp;&lt;/P&gt;&lt;P&gt;but because i'm dealing with an old code that wasn't written by me this kind of change will have more consequences,&lt;/P&gt;&lt;P&gt;there for i want a simple if with another NEXT,&amp;nbsp;&lt;/P&gt;&lt;P&gt;which i'm starting to understand is not possible in Qlik&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Aug 2020 06:34:52 GMT</pubDate>
    <dc:creator>gal_polak</dc:creator>
    <dc:date>2020-08-03T06:34:52Z</dc:date>
    <item>
      <title>Calling NEXT in FOR EACH in multiple location or by condition</title>
      <link>https://community.qlik.com/t5/App-Development/Calling-NEXT-in-FOR-EACH-in-multiple-location-or-by-condition/m-p/1732629#M55915</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using the for each to go over folders and files in my system,&amp;nbsp;&lt;/P&gt;&lt;P&gt;and i was trying to create a condition to skip some files so baiscally what i want to do is like this:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;FOR EACH fld in DirList(vMyDir) 
  IF fld &amp;lt; vMyCondition then
     NEXT fld
  ELSE
     /* do something */
  ENDIF
NEXT fld&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i get error when it is like that,&amp;nbsp;&lt;/P&gt;&lt;P&gt;any other ways someone know? can share?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:16:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calling-NEXT-in-FOR-EACH-in-multiple-location-or-by-condition/m-p/1732629#M55915</guid>
      <dc:creator>gal_polak</dc:creator>
      <dc:date>2024-11-16T18:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calling NEXT in FOR EACH in multiple location or by condition</title>
      <link>https://community.qlik.com/t5/App-Development/Calling-NEXT-in-FOR-EACH-in-multiple-location-or-by-condition/m-p/1732654#M55917</link>
      <description>&lt;P&gt;It looks like you don't need the "next fld" inside the if statement. Try something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;FOR EACH fld in DirList(vMyDir) 
  IF fld &amp;gt;= vMyCondition then
     /* do something */
  ENDIF
NEXT fld&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 00:54:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calling-NEXT-in-FOR-EACH-in-multiple-location-or-by-condition/m-p/1732654#M55917</guid>
      <dc:creator>dieterwoestemeier</dc:creator>
      <dc:date>2020-08-03T00:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calling NEXT in FOR EACH in multiple location or by condition</title>
      <link>https://community.qlik.com/t5/App-Development/Calling-NEXT-in-FOR-EACH-in-multiple-location-or-by-condition/m-p/1732669#M55918</link>
      <description>&lt;P&gt;Thx,&amp;nbsp;&lt;/P&gt;&lt;P&gt;so i thought about this kind of solution,&amp;nbsp;&lt;/P&gt;&lt;P&gt;but because i'm dealing with an old code that wasn't written by me this kind of change will have more consequences,&lt;/P&gt;&lt;P&gt;there for i want a simple if with another NEXT,&amp;nbsp;&lt;/P&gt;&lt;P&gt;which i'm starting to understand is not possible in Qlik&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 06:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calling-NEXT-in-FOR-EACH-in-multiple-location-or-by-condition/m-p/1732669#M55918</guid>
      <dc:creator>gal_polak</dc:creator>
      <dc:date>2020-08-03T06:34:52Z</dc:date>
    </item>
  </channel>
</rss>

