<?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 Using If Condition in Scripts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-If-Condition-in-Scripts/m-p/465286#M697481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How should we use 'if' condition in scripts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do the following in scripts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET Condition1 = Peek('Cond',0,'lkptbl');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ( Condition1 = 255)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Set Colour1 = 'Red()'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Condition1 and Colour1 are variable which are created and the Value for condition1 is from a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Feb 2013 09:58:07 GMT</pubDate>
    <dc:creator>naveenchellaara</dc:creator>
    <dc:date>2013-02-23T09:58:07Z</dc:date>
    <item>
      <title>Using If Condition in Scripts</title>
      <link>https://community.qlik.com/t5/QlikView/Using-If-Condition-in-Scripts/m-p/465286#M697481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How should we use 'if' condition in scripts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do the following in scripts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET Condition1 = Peek('Cond',0,'lkptbl');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ( Condition1 = 255)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Set Colour1 = 'Red()'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Condition1 and Colour1 are variable which are created and the Value for condition1 is from a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2013 09:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-If-Condition-in-Scripts/m-p/465286#M697481</guid>
      <dc:creator>naveenchellaara</dc:creator>
      <dc:date>2013-02-23T09:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using If Condition in Scripts</title>
      <link>https://community.qlik.com/t5/QlikView/Using-If-Condition-in-Scripts/m-p/465287#M697482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a THEN keyword after IF statement, and try.&lt;/P&gt;&lt;P&gt;After the SET statement, use ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2013 10:05:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-If-Condition-in-Scripts/m-p/465287#M697482</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-02-23T10:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using If Condition in Scripts</title>
      <link>https://community.qlik.com/t5/QlikView/Using-If-Condition-in-Scripts/m-p/465288#M697483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naveenchellaaraam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2013 10:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-If-Condition-in-Scripts/m-p/465288#M697483</guid>
      <dc:creator>naveenchellaara</dc:creator>
      <dc:date>2013-02-23T10:13:37Z</dc:date>
    </item>
  </channel>
</rss>

