<?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 Delete a variable on OPEN in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Delete-a-variable-on-OPEN/m-p/190413#M501285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Try with the following macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sub CleanUp ActiveDocument.RemoveVariable "vVar"End Sub&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;the variable will be deleted completely from your script, as if you go to Settings menu, Variable Overview and delete it.&lt;/P&gt;&lt;P&gt;Besides, opening on server (via ajax, plugin) is likely not to trigger OnOpen and OnPostReload macros properly. In this case, you should create a different event.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Nov 2010 06:44:01 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2010-11-17T06:44:01Z</dc:date>
    <item>
      <title>Delete a variable on OPEN</title>
      <link>https://community.qlik.com/t5/QlikView/Delete-a-variable-on-OPEN/m-p/190411#M501283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;Requirement&lt;/B&gt;: Delete a variable for a particular file type, but the variable should stay for the rest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Has any one attempted to delete a variable on document open.&lt;/P&gt;&lt;P&gt;I couldn't find a macro event/property to achieve the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddharth&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 03:54:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delete-a-variable-on-OPEN/m-p/190411#M501283</guid>
      <dc:creator>siddharth_kulka</dc:creator>
      <dc:date>2010-11-17T03:54:50Z</dc:date>
    </item>
    <item>
      <title>Delete a variable on OPEN</title>
      <link>https://community.qlik.com/t5/QlikView/Delete-a-variable-on-OPEN/m-p/190412#M501284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Siddharth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cant we initializes the variable to zero or null(). That would be much easier task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 05:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delete-a-variable-on-OPEN/m-p/190412#M501284</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2010-11-17T05:41:26Z</dc:date>
    </item>
    <item>
      <title>Delete a variable on OPEN</title>
      <link>https://community.qlik.com/t5/QlikView/Delete-a-variable-on-OPEN/m-p/190413#M501285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Try with the following macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sub CleanUp ActiveDocument.RemoveVariable "vVar"End Sub&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;the variable will be deleted completely from your script, as if you go to Settings menu, Variable Overview and delete it.&lt;/P&gt;&lt;P&gt;Besides, opening on server (via ajax, plugin) is likely not to trigger OnOpen and OnPostReload macros properly. In this case, you should create a different event.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 06:44:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delete-a-variable-on-OPEN/m-p/190413#M501285</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-11-17T06:44:01Z</dc:date>
    </item>
  </channel>
</rss>

