<?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: Macro's are not working on Access Point(AJAX) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-s-are-not-working-on-Access-Point-AJAX/m-p/425059#M158342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I used button &amp;amp; action is "Run macro".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2012 11:14:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-11T11:14:55Z</dc:date>
    <item>
      <title>Macro's are not working on Access Point(AJAX)</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-s-are-not-working-on-Access-Point-AJAX/m-p/425057#M158340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created 3 macro's YTD,QTD&amp;amp;MTD, when i select in application those are working but when i selected in access point(AJAX) those macro's are&amp;nbsp; not working.can any one advice me how to solve&amp;nbsp; it.&lt;/P&gt;&lt;P&gt;I used this code in macro's edit module&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sub YTD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.GetSheetObject("CH121").Activate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.GetSheetObject("CH122").Activate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end sub;&lt;/P&gt;&lt;P&gt;.......etc........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked Allow unsafe macro's on server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 11:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-s-are-not-working-on-Access-Point-AJAX/m-p/425057#M158340</guid>
      <dc:creator />
      <dc:date>2012-12-11T11:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Macro's are not working on Access Point(AJAX)</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-s-are-not-working-on-Access-Point-AJAX/m-p/425058#M158341</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;Some macros do not work in Ajax, and that is the expected behavior. What events are you using to trigger those macros? A button, an action, when you change a value in a field?&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;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 11:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-s-are-not-working-on-Access-Point-AJAX/m-p/425058#M158341</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-12-11T11:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Macro's are not working on Access Point(AJAX)</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-s-are-not-working-on-Access-Point-AJAX/m-p/425059#M158342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I used button &amp;amp; action is "Run macro".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 11:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-s-are-not-working-on-Access-Point-AJAX/m-p/425059#M158342</guid>
      <dc:creator />
      <dc:date>2012-12-11T11:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Macro's are not working on Access Point(AJAX)</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-s-are-not-working-on-Access-Point-AJAX/m-p/425060#M158343</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;Use conditionals based on a variable value instead. For example, the button sets a variable named "vYTD" to 1 when clicked. The charts have a conditional like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vYTD = 1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so they are only displayed when you click on the button. Check an example app &lt;A _jive_internal="true" href="https://community.qlik.com/message/232031#232031"&gt;here&lt;/A&gt;. This will work in Ajax and you prevent using macros.&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;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 11:19:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-s-are-not-working-on-Access-Point-AJAX/m-p/425060#M158343</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-12-11T11:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Macro's are not working on Access Point(AJAX)</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-s-are-not-working-on-Access-Point-AJAX/m-p/425061#M158344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;But actuvally if i select YTD button then it shows 1-bar chart &amp;amp; 1-stright tabe as comparing last 3 years means i used 3 expressions in YTD. &lt;/P&gt;&lt;P&gt;like that QTD&amp;amp;MTD also then how.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 12:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-s-are-not-working-on-Access-Point-AJAX/m-p/425061#M158344</guid>
      <dc:creator />
      <dc:date>2012-12-11T12:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Macro's are not working on Access Point(AJAX)</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-s-are-not-working-on-Access-Point-AJAX/m-p/425062#M158345</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;What if you click on the QTD button first? Does it work and the rest of buttons quit working? You are just activating objects and not modifying expressions, aren't you? If all charts are in the same sheet, then I'd insist on the use of variables and conditional visibility instead. If they are in different sheets, you will need to first activate the sheet where the charts are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not having the QVW makes difficult to guess the layout and functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 12:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-s-are-not-working-on-Access-Point-AJAX/m-p/425062#M158345</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-12-11T12:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Macro's are not working on Access Point(AJAX)</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-s-are-not-working-on-Access-Point-AJAX/m-p/425063#M158346</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;I used that set variable method but that is suitable for only two butttons but i need 3 buttons.&lt;/P&gt;&lt;P&gt;i used like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; variable:&amp;nbsp;&amp;nbsp;&amp;nbsp; V=1&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;YTD Button:&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Button -&amp;nbsp; action - Set Variable -&amp;gt;v&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Value:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =If(v = 1, 2, 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Text:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =if(v=1,'YTD','YTD')&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;In chart, use v variable&amp;nbsp; in Layut-conditional&amp;nbsp; - show = v=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;QTD Button:&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Button -&amp;nbsp; action - Set Variable -&amp;gt;v&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Value:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =If(v = 1, 2, 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Text:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =if(v=2,'QTD','QTD')&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;In chart, use v variable&amp;nbsp; in Layut-conditional&amp;nbsp; - show = v=2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;How do i create MTD Button?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Set variable taking two values true/false. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 06:18:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-s-are-not-working-on-Access-Point-AJAX/m-p/425063#M158346</guid>
      <dc:creator />
      <dc:date>2012-12-12T06:18:33Z</dc:date>
    </item>
  </channel>
</rss>

