<?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: Using Macro's in table expressions (definition) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Macro-s-in-table-expressions-definition/m-p/366519#M1173220</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;That is pity. It would be nice to have vbScript/Jscript working also in expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tnx for the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jul 2012 11:51:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-25T11:51:47Z</dc:date>
    <item>
      <title>Using Macro's in table expressions (definition)</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Macro-s-in-table-expressions-definition/m-p/366517#M1173218</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 have written a Macro in the editor module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function one(param1)&lt;/P&gt;&lt;P&gt;one = param1 + param1&lt;/P&gt;&lt;P&gt;end function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am calling the function 'one(3)' in a table column as expression. However the result that is being returned is ' - '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does is not just return 6? Do I have to do something else? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I folllowed some tutorials on macro's but they only use it for 'onAction' events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 09:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Macro-s-in-table-expressions-definition/m-p/366517#M1173218</guid>
      <dc:creator />
      <dc:date>2012-07-25T09:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using Macro's in table expressions (definition)</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Macro-s-in-table-expressions-definition/m-p/366518#M1173219</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;You can only use defined macro's on your Load Script, not even on expressions. As you have told you can also call them on triggers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 11:43:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Macro-s-in-table-expressions-definition/m-p/366518#M1173219</guid>
      <dc:creator>forte</dc:creator>
      <dc:date>2012-07-25T11:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using Macro's in table expressions (definition)</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Macro-s-in-table-expressions-definition/m-p/366519#M1173220</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;That is pity. It would be nice to have vbScript/Jscript working also in expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tnx for the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 11:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Macro-s-in-table-expressions-definition/m-p/366519#M1173220</guid>
      <dc:creator />
      <dc:date>2012-07-25T11:51:47Z</dc:date>
    </item>
  </channel>
</rss>

