<?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 function with parameters in botton in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/function-with-parameters-in-botton/m-p/327726#M586798</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope there's an easier way, but you could have the first action of the button set a variable, and then retrieve the value of the variable in the macro.&amp;nbsp; Even it that works, though, I believe that tecnically it could fail, because on machines with parallel processors, I don't believe QlikView guarantees the order of execution of the actions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 May 2011 22:36:51 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2011-05-25T22:36:51Z</dc:date>
    <item>
      <title>function with parameters in botton</title>
      <link>https://community.qlik.com/t5/QlikView/function-with-parameters-in-botton/m-p/327725#M586797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps" title="Haz clic para obtener otras posibles traducciones"&gt;I need&lt;/SPAN&gt; &lt;SPAN class="hps" title="Haz clic para obtener otras posibles traducciones"&gt;to create&lt;/SPAN&gt; &lt;SPAN class="hps" title="Haz clic para obtener otras posibles traducciones"&gt;a function&lt;/SPAN&gt; &lt;SPAN class="hps" title="Haz clic para obtener otras posibles traducciones"&gt;with&lt;/SPAN&gt; &lt;SPAN class="hps" title="Haz clic para obtener otras posibles traducciones"&gt;parameters&lt;/SPAN&gt; &lt;SPAN class="hps" title="Haz clic para obtener otras posibles traducciones"&gt;that&lt;/SPAN&gt; &lt;SPAN class="hps" title="Haz clic para obtener otras posibles traducciones"&gt;are&lt;/SPAN&gt; &lt;SPAN class="hps" title="Haz clic para obtener otras posibles traducciones"&gt;run&lt;/SPAN&gt; &lt;SPAN class="hps" title="Haz clic para obtener otras posibles traducciones"&gt;when clicking&lt;/SPAN&gt;&lt;SPAN class="hps" title="Haz clic para obtener otras posibles traducciones"&gt;on a&lt;/SPAN&gt; &lt;SPAN class="hps" title="Haz clic para obtener otras posibles traducciones"&gt;button&lt;/SPAN&gt;&lt;SPAN title="Haz clic para obtener otras posibles traducciones"&gt;,&lt;/SPAN&gt; &lt;SPAN class="hps" title="Haz clic para obtener otras posibles traducciones"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps" title="Haz clic para obtener otras posibles traducciones"&gt;idea&lt;/SPAN&gt; &lt;SPAN class="hps" title="Haz clic para obtener otras posibles traducciones"&gt;is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;function detalleActiva (mihoja)&lt;/P&gt;&lt;P&gt;====&amp;gt; MACRO&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if ActiveDocument.Variables("v_muestra_ventas").GetContent.String="1" then&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ActiveDocument.ActivateSheetByID (mihoja) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;muestra_ventas&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ActiveDocument.ActivateSheetByID (mihoja)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end if&lt;/P&gt;&lt;P&gt;end function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===&amp;gt;botton&lt;/P&gt;&lt;P&gt;detalleActiva ("SH04")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i execute this function in the clic botton???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps" title="Haz clic para obtener otras posibles traducciones"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 20:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-with-parameters-in-botton/m-p/327725#M586797</guid>
      <dc:creator />
      <dc:date>2011-05-25T20:42:19Z</dc:date>
    </item>
    <item>
      <title>function with parameters in botton</title>
      <link>https://community.qlik.com/t5/QlikView/function-with-parameters-in-botton/m-p/327726#M586798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope there's an easier way, but you could have the first action of the button set a variable, and then retrieve the value of the variable in the macro.&amp;nbsp; Even it that works, though, I believe that tecnically it could fail, because on machines with parallel processors, I don't believe QlikView guarantees the order of execution of the actions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 22:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-with-parameters-in-botton/m-p/327726#M586798</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-05-25T22:36:51Z</dc:date>
    </item>
  </channel>
</rss>

