<?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: Detach Function how to get run from macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Detach-Function-how-to-get-run-from-macro/m-p/434810#M162085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anju,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for quick respons.&lt;/P&gt;&lt;P&gt;I had checked TRIAL.qvw file which is working fine. But I will soon back with QVW file where I facing the problem.&lt;/P&gt;&lt;P&gt;Then I hope U will understand the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shantanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jan 2013 12:07:11 GMT</pubDate>
    <dc:creator>shantanu73</dc:creator>
    <dc:date>2013-01-22T12:07:11Z</dc:date>
    <item>
      <title>Detach Function how to get run from macro</title>
      <link>https://community.qlik.com/t5/QlikView/Detach-Function-how-to-get-run-from-macro/m-p/434806#M162081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friend's/Master's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can activate the Detach property on Chat/Graph by keyboard which is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want to activate it by scripting/Macro on any Button for particualar Chat/Graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following Macro Code I had written in the one of the Button as follows:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;Sub R_Chart&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #339966;"&gt;set obj = ActiveDocument.GetSheetObject("CH03")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #339966;"&gt;obj.Detach&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #339966;"&gt;End Sub &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="color: #339966; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="color: #339966; font-size: 8pt;"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub UR_Chart&lt;BR /&gt;set obj = ActiveDocument.GetSheetObject("CH03")&lt;BR /&gt;obj.Attach&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #000000;"&gt;After running the Macro when I checking the properties by keyboard on Chat/Graph it is showing proper. But It does'nt act accordingly.&lt;/SPAN&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;I hope I had able to explain the scenario.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 10pt;"&gt;﻿It will great if any body can help me out for solving the above problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #339966;"&gt;﻿&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;Thanks in Advance&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #339966;"&gt;﻿&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;Shantanu&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966; font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 12:48:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Detach-Function-how-to-get-run-from-macro/m-p/434806#M162081</guid>
      <dc:creator>shantanu73</dc:creator>
      <dc:date>2013-01-18T12:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Detach Function how to get run from macro</title>
      <link>https://community.qlik.com/t5/QlikView/Detach-Function-how-to-get-run-from-macro/m-p/434807#M162082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shantanu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I tried your macro. Its working fine. What are you expecting? Please elaborate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 13:12:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Detach-Function-how-to-get-run-from-macro/m-p/434807#M162082</guid>
      <dc:creator />
      <dc:date>2013-01-18T13:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Detach Function how to get run from macro</title>
      <link>https://community.qlik.com/t5/QlikView/Detach-Function-how-to-get-run-from-macro/m-p/434808#M162083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anju,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for response. And Sorry about the&amp;nbsp; scenario example which I had given about the calling the Macro on Button. I thought that it will not work in Button. But it is working. Basically it doesn't work following scenario as follows:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Suppose I had taken one object as List box by binding the column Country_name.&lt;/P&gt;&lt;P&gt;2. And Second as Chart/Graph object.&lt;/P&gt;&lt;P&gt;3. Now, (In Setting-&amp;gt;Document Properties-&amp;gt;Triggers-&amp;gt;Field Event Triggers) at column Country_name &lt;STRONG&gt;OnSelect&lt;/STRONG&gt;(Add Actions) I add/Call Macro R_Chart. Here Macro Get Excuted. Because when I check the properties by keyboard on Chat/Graph it is showing proper. But It does'nt act accordingly.&lt;/P&gt;&lt;P&gt;Same Way &lt;STRONG&gt;OnChanges&lt;/STRONG&gt;(Add Actions) I add/Call Macro UR_Chart. Here also Macro Get Excuted. Because when I check the properties by keyboard on Chat/Graph it is showing proper. But It does'nt act accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;I hope I had able to explain the scenario. Can u please check now and given solution to me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Thanks in Advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Shantanu&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 05:22:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Detach-Function-how-to-get-run-from-macro/m-p/434808#M162083</guid>
      <dc:creator>shantanu73</dc:creator>
      <dc:date>2013-01-22T05:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Detach Function how to get run from macro</title>
      <link>https://community.qlik.com/t5/QlikView/Detach-Function-how-to-get-run-from-macro/m-p/434809#M162084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shantanu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it. Its working. First , we have to understand the functionality of 'OnSelect' and 'OnChange'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what the document says&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"OnSelect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The action will be executed each time a selection has been&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;made in &lt;SPAN style="color: #ff00ff;"&gt;the specified field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OnChange&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The action will be executed each time a selection has been&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;made in any field which is &lt;SPAN style="color: #ff00ff;"&gt;logically associated with the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff;"&gt;specified field&lt;/SPAN&gt;."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I guess 'OnChange' will not work for selections on countryname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also attached a file where I have used your macro .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it is helpful! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&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;Anju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 09:27:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Detach-Function-how-to-get-run-from-macro/m-p/434809#M162084</guid>
      <dc:creator />
      <dc:date>2013-01-22T09:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Detach Function how to get run from macro</title>
      <link>https://community.qlik.com/t5/QlikView/Detach-Function-how-to-get-run-from-macro/m-p/434810#M162085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anju,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for quick respons.&lt;/P&gt;&lt;P&gt;I had checked TRIAL.qvw file which is working fine. But I will soon back with QVW file where I facing the problem.&lt;/P&gt;&lt;P&gt;Then I hope U will understand the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shantanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 12:07:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Detach-Function-how-to-get-run-from-macro/m-p/434810#M162085</guid>
      <dc:creator>shantanu73</dc:creator>
      <dc:date>2013-01-22T12:07:11Z</dc:date>
    </item>
  </channel>
</rss>

