<?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 Trigger second macro while first macro is running in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trigger-second-macro-while-first-macro-is-running/m-p/740562#M264505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a print&amp;amp;mail macro which has a long runtime. I would like to be able to trigger a second macro (upon selection in a field) while the print&amp;amp;mail macro is running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;currently both macro's are running fine when you run them seperatly. But the second macro should be triggered when the print&amp;amp;mail macro is making selections in a field while buidling the report. This does not happen... the print&amp;amp;mail macro keeps running and the second macro does not seem to be activated.&lt;/P&gt;&lt;P&gt;also when i build the report by printing manually, then the trigger on selection in field does work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, &lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Nov 2014 15:31:17 GMT</pubDate>
    <dc:creator>pepe2209</dc:creator>
    <dc:date>2014-11-13T15:31:17Z</dc:date>
    <item>
      <title>Trigger second macro while first macro is running</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-second-macro-while-first-macro-is-running/m-p/740562#M264505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a print&amp;amp;mail macro which has a long runtime. I would like to be able to trigger a second macro (upon selection in a field) while the print&amp;amp;mail macro is running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;currently both macro's are running fine when you run them seperatly. But the second macro should be triggered when the print&amp;amp;mail macro is making selections in a field while buidling the report. This does not happen... the print&amp;amp;mail macro keeps running and the second macro does not seem to be activated.&lt;/P&gt;&lt;P&gt;also when i build the report by printing manually, then the trigger on selection in field does work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, &lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 15:31:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-second-macro-while-first-macro-is-running/m-p/740562#M264505</guid>
      <dc:creator>pepe2209</dc:creator>
      <dc:date>2014-11-13T15:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger second macro while first macro is running</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-second-macro-while-first-macro-is-running/m-p/740563#M264506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think so. Several macro's running at the same time are a nightmare with regards to making sure the application behaves predictable and that the macro's cannot interfere with each other. Object triggers have been removed from Qlikview for similar reasons. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 09:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-second-macro-while-first-macro-is-running/m-p/740563#M264506</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-11-14T09:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger second macro while first macro is running</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-second-macro-while-first-macro-is-running/m-p/740564#M264507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with &lt;A href="https://community.qlik.com/qlik-users/96544"&gt;Gysbert Wassenaar&lt;/A&gt; but couldn't you call your second macro within the first one? I work often with sub-routines and it worked well. If the runtime from macro (too) slow you should rather look to optimize the macro (removing from redundant actions and code) and/or optimize the qvw itself (datamodel, selections, calculations).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 11:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-second-macro-while-first-macro-is-running/m-p/740564#M264507</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-11-14T11:38:02Z</dc:date>
    </item>
  </channel>
</rss>

