<?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 Clear variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Clear-variables/m-p/305875#M112956</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;Is there any macro code to clear particular variables(i. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jul 2011 05:54:46 GMT</pubDate>
    <dc:creator>jagannalla</dc:creator>
    <dc:date>2011-07-26T05:54:46Z</dc:date>
    <item>
      <title>Clear variables</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-variables/m-p/305875#M112956</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;Is there any macro code to clear particular variables(i. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 05:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-variables/m-p/305875#M112956</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2011-07-26T05:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Clear variables</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-variables/m-p/305876#M112957</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;Can you please elaborate? Did you ceck the APIGuide.qvw file that is installed along with the documentation with the Full Install of QlikView Desktop? Did you check the SetContent member?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Set vVal = ActiveDocument.Variables("vVariable")&lt;/P&gt;&lt;P&gt;vVal.SetContent "", true&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you want to completely remove the variable from the document? If so, did you check the APIGuide Application.RemoveVariable ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; text-decoration: underline; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 07:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-variables/m-p/305876#M112957</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-07-26T07:42:45Z</dc:date>
    </item>
    <item>
      <title>Clear variables</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-variables/m-p/305877#M112958</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 can use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub cleanVariables&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set VariableCollection = ActiveDocument.GetVariableDescriptions&lt;/P&gt;&lt;P&gt;&amp;nbsp; for i = 0 to VariableCollection.Count - 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set tempVar = VariableCollection.Item(i)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tempVarName = tempVar.Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'if left(tempVarName,3) = "tot" then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'msgbox "Deleting " &amp;amp; tempVarName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.RemoveVariable tempVarName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'end if&lt;/P&gt;&lt;P&gt;&amp;nbsp; next&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 08:03:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-variables/m-p/305877#M112958</guid>
      <dc:creator />
      <dc:date>2011-07-26T08:03:07Z</dc:date>
    </item>
    <item>
      <title>Clear variables</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-variables/m-p/305878#M112959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using persona edition. I'm not able to open API quide.&lt;/P&gt;&lt;P&gt;Thanks for your help miguel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 11:14:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-variables/m-p/305878#M112959</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2011-07-26T11:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Clear variables</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-variables/m-p/305879#M112960</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;APIGuide.qvw is installed if you choose the Complete Install and should be personal edition available. If that's not the case, let us know so the QlikTech stuff around can take a closer look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 11:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-variables/m-p/305879#M112960</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-07-26T11:42:52Z</dc:date>
    </item>
  </channel>
</rss>

