<?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 But how to set variable value thru macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/But-how-to-set-variable-value-thru-macro/m-p/148765#M27008</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arum,&lt;/P&gt;&lt;P&gt;Try searching this forum.&lt;/P&gt;&lt;P&gt;I have seen many threads like your scenario which has been solved in this forum.&lt;/P&gt;&lt;P&gt;- Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jul 2009 12:06:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-07-08T12:06:20Z</dc:date>
    <item>
      <title>But how to set variable value thru macro</title>
      <link>https://community.qlik.com/t5/QlikView/But-how-to-set-variable-value-thru-macro/m-p/148764#M27007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I know how to get variables value:&lt;BR /&gt;Set&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v = ActiveDocument.Variables(var)&lt;BR /&gt;getVariable = v.GetContent. &lt;B&gt;String&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;But how to set variable value thru macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Pls suggest&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 11:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/But-how-to-set-variable-value-thru-macro/m-p/148764#M27007</guid>
      <dc:creator />
      <dc:date>2009-07-08T11:43:34Z</dc:date>
    </item>
    <item>
      <title>But how to set variable value thru macro</title>
      <link>https://community.qlik.com/t5/QlikView/But-how-to-set-variable-value-thru-macro/m-p/148765#M27008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arum,&lt;/P&gt;&lt;P&gt;Try searching this forum.&lt;/P&gt;&lt;P&gt;I have seen many threads like your scenario which has been solved in this forum.&lt;/P&gt;&lt;P&gt;- Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 12:06:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/But-how-to-set-variable-value-thru-macro/m-p/148765#M27008</guid>
      <dc:creator />
      <dc:date>2009-07-08T12:06:20Z</dc:date>
    </item>
    <item>
      <title>But how to set variable value thru macro</title>
      <link>https://community.qlik.com/t5/QlikView/But-how-to-set-variable-value-thru-macro/m-p/148766#M27009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it from this forum only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Set&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var.SetContent "Show", true&lt;/P&gt;&lt;P&gt;i dont know what does this "true" stands for but it is compulsory to give it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks Sridhar&lt;/P&gt;var = ActiveDocument.Variables("yHideShow") &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 12:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/But-how-to-set-variable-value-thru-macro/m-p/148766#M27009</guid>
      <dc:creator />
      <dc:date>2009-07-08T12:13:51Z</dc:date>
    </item>
    <item>
      <title>But how to set variable value thru macro</title>
      <link>https://community.qlik.com/t5/QlikView/But-how-to-set-variable-value-thru-macro/m-p/148767#M27010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it from this forum only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Set&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var.SetContent "Show", true&lt;/P&gt;&lt;P&gt;i dont know what does this "true" stands for but it is compulsory to give it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks Sridhar&lt;BR /&gt;thanks forum&lt;/P&gt;var = ActiveDocument.Variables("yHideShow") &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 12:14:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/But-how-to-set-variable-value-thru-macro/m-p/148767#M27010</guid>
      <dc:creator />
      <dc:date>2009-07-08T12:14:06Z</dc:date>
    </item>
    <item>
      <title>But how to set variable value thru macro</title>
      <link>https://community.qlik.com/t5/QlikView/But-how-to-set-variable-value-thru-macro/m-p/148768#M27011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The API guide is always a great place to look.&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables("Variable1")&lt;BR /&gt;v.SetContent "123",true&lt;/P&gt;&lt;P&gt;"True if variable MRU list is to be updated"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 15:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/But-how-to-set-variable-value-thru-macro/m-p/148768#M27011</guid>
      <dc:creator />
      <dc:date>2009-07-08T15:59:24Z</dc:date>
    </item>
  </channel>
</rss>

