<?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: Simple Condition Check in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-Condition-Check/m-p/464261#M173400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the Reply. Need some more help from you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above is working fine. What I need is once the condition is Satisfied I want to set the Variable value as 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the value Albm is 2 Want to set it to 1 using the Macro. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alvin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Oct 2012 06:56:35 GMT</pubDate>
    <dc:creator>alvinford</dc:creator>
    <dc:date>2012-10-30T06:56:35Z</dc:date>
    <item>
      <title>Simple Condition Check</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Condition-Check/m-p/464259#M173398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to Check a condtion for the Variable using the Macro . I tried the below, its throwing an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the vDetails Value is 2 then I want to display a msg box &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sub Message&lt;BR /&gt;set albm =ActiveDocument.Variables("vDetails")&lt;BR /&gt;if(albm)=2 then&lt;BR /&gt;msgbox "You have items with No. Name"&lt;BR /&gt;end if&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alvin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 06:36:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Condition-Check/m-p/464259#M173398</guid>
      <dc:creator>alvinford</dc:creator>
      <dc:date>2012-10-30T06:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Condition Check</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Condition-Check/m-p/464260#M173399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Albm.GetContent.String) = 2 then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 06:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Condition-Check/m-p/464260#M173399</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-10-30T06:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Condition Check</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Condition-Check/m-p/464261#M173400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the Reply. Need some more help from you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above is working fine. What I need is once the condition is Satisfied I want to set the Variable value as 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the value Albm is 2 Want to set it to 1 using the Macro. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alvin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 06:56:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Condition-Check/m-p/464261#M173400</guid>
      <dc:creator>alvinford</dc:creator>
      <dc:date>2012-10-30T06:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Condition Check</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Condition-Check/m-p/464262#M173401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I could able to do it ..&lt;/P&gt;&lt;P&gt;Thanks .&lt;/P&gt;&lt;P&gt;Alvin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 07:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Condition-Check/m-p/464262#M173401</guid>
      <dc:creator>alvinford</dc:creator>
      <dc:date>2012-10-30T07:37:53Z</dc:date>
    </item>
  </channel>
</rss>

