<?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 problem in Clear Chart object from macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problem-in-Clear-Chart-object-from-macro/m-p/256704#M1204728</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 can't really understand you intention, you want a detached chart when non of the fields are selected?&lt;/P&gt;&lt;P&gt;To check on that I would rather use + instead of OR? And I cant really see why you would detach if nothing is selected (or is the check only on a subset of fields?).&lt;/P&gt;&lt;P&gt;Anyway - I would add a msgbox to see that the macro actually gets called with the clear event.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Juerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 May 2010 18:20:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-11T18:20:49Z</dc:date>
    <item>
      <title>problem in Clear Chart object from macro</title>
      <link>https://community.qlik.com/t5/QlikView/problem-in-Clear-Chart-object-from-macro/m-p/256703#M1204727</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 am using attach and detach from macro&lt;/P&gt;&lt;P&gt;SUB TEST&lt;BR /&gt;If ((ActiveDocument.Evaluate("=GetSelectedCount(STATUS)")) Or (ActiveDocument.Evaluate("=GetSelectedCount(COUNTRY)")) Or (ActiveDocument.Evaluate("=GetSelectedCount(SPECIFIC)")) Or (ActiveDocument.Evaluate("=GetSelectedCount(CERT)")) ) &amp;gt; 0 Then&lt;BR /&gt; ActiveDocument.GetSheetObject("CH06").Attach&lt;BR /&gt;Else&lt;BR /&gt; ActiveDocument.GetSheetObject("CH06").Detach&lt;BR /&gt; End If&lt;BR /&gt;END SUB&lt;/P&gt;&lt;P&gt;Now the problem is, if I click clear after filtering from list boxes, the chart is not able to clear the selection and its applying Detach. How to I clear selection from the chart and apply detach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 17:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-in-Clear-Chart-object-from-macro/m-p/256703#M1204727</guid>
      <dc:creator />
      <dc:date>2010-05-11T17:42:18Z</dc:date>
    </item>
    <item>
      <title>problem in Clear Chart object from macro</title>
      <link>https://community.qlik.com/t5/QlikView/problem-in-Clear-Chart-object-from-macro/m-p/256704#M1204728</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 can't really understand you intention, you want a detached chart when non of the fields are selected?&lt;/P&gt;&lt;P&gt;To check on that I would rather use + instead of OR? And I cant really see why you would detach if nothing is selected (or is the check only on a subset of fields?).&lt;/P&gt;&lt;P&gt;Anyway - I would add a msgbox to see that the macro actually gets called with the clear event.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Juerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 18:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-in-Clear-Chart-object-from-macro/m-p/256704#M1204728</guid>
      <dc:creator />
      <dc:date>2010-05-11T18:20:49Z</dc:date>
    </item>
  </channel>
</rss>

