<?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: VBScript Function Call from Script (QV12.20) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/VBScript-Function-Call-from-Script-QV12-20/m-p/1421328#M428764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works also for me!&lt;/P&gt;&lt;P&gt;Thank you Martin! &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;Yes Eric, my mistake, I write down quickly.&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Dec 2017 11:13:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-12-06T11:13:47Z</dc:date>
    <item>
      <title>VBScript Function Call from Script (QV12.20)</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-Function-Call-from-Script-QV12-20/m-p/1421323#M428759</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;I have a problem calling VBScript functions in my load script.&lt;/P&gt;&lt;P&gt;Using the example code from the qlik help I get the same error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;let MaxPop=VBin('Max population in millions :');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unexpected token: '(', expected one of: ':', 'OPERATOR_PLUS', 'OPERATOR_MINUS', 'OPERATOR_MULTIPLICATION', 'OPERATOR_DIVISION', 'OPERATOR_STRING_CONCAT', 'like', ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let MaxPop=VBin&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;(&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;'Max population in millions :')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using QlikView Desktop 12.20 (Nov 2017)&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 16:53:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-Function-Call-from-Script-QV12-20/m-p/1421323#M428759</guid>
      <dc:creator>martinsuske</dc:creator>
      <dc:date>2017-12-04T16:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript Function Call from Script (QV12.20)</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-Function-Call-from-Script-QV12-20/m-p/1421324#M428760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I experience the same problem with 12.20. Sorry for not helping out with a solution but maybe it helps to push the topic a bit further for this common use case. I tried to replace (..) with {..}, [..] and eventually rewriting the line to call VBin() but nothing helps. The only hint that Qlikview sees VBin as a VBScript function is the syntax highlighting deminishes as soon as the function is renamed to something like VBin2 in the VBScript editor but not in the QV script. &lt;/P&gt;&lt;P&gt;Maybe we miss out a new security setting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 09:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-Function-Call-from-Script-QV12-20/m-p/1421324#M428760</guid>
      <dc:creator>eldro</dc:creator>
      <dc:date>2017-12-05T09:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript Function Call from Script (QV12.20)</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-Function-Call-from-Script-QV12-20/m-p/1421325#M428761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, I have the same issue: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function:&lt;/P&gt;&lt;P&gt;function Somma(x, y) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Somma=a+b&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;script:&lt;/P&gt;&lt;P&gt;IF Somma(2, 3)&amp;nbsp; = 5THEN &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRACE("OK");&lt;/P&gt;&lt;P&gt;ELSE &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRACE("KO");&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't work: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Unexpected token: '(', expected one of: ':', 'OPERATOR_PLUS', 'OPERATOR_MINUS'...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Can someone help us?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 10:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-Function-Call-from-Script-QV12-20/m-p/1421325#M428761</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-05T10:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript Function Call from Script (QV12.20)</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-Function-Call-from-Script-QV12-20/m-p/1421326#M428762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just found this thread &lt;A href="https://community.qlik.com/message/1387007"&gt;Executing Jscript function during load statement&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which suggests turning off the new BNF mode by adding &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;///$bnf off as first line of the script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Works for me. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 08:30:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-Function-Call-from-Script-QV12-20/m-p/1421326#M428762</guid>
      <dc:creator>martinsuske</dc:creator>
      <dc:date>2017-12-06T08:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript Function Call from Script (QV12.20)</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-Function-Call-from-Script-QV12-20/m-p/1421327#M428763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that does the trick!&lt;/P&gt;&lt;P&gt;Just a hint:&amp;nbsp;&amp;nbsp; &amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;///$bnf off&amp;lt; belongs to the very first line of the Qlikview script (I tried the module script at first ..)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;A href="https://community.qlik.com/qlik-users/262923"&gt;alesanti&lt;/A&gt;‌: The signature of your Somma function uses x,y but returns a,b -&amp;gt; took some time to figure that out &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 09:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-Function-Call-from-Script-QV12-20/m-p/1421327#M428763</guid>
      <dc:creator>eldro</dc:creator>
      <dc:date>2017-12-06T09:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript Function Call from Script (QV12.20)</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-Function-Call-from-Script-QV12-20/m-p/1421328#M428764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works also for me!&lt;/P&gt;&lt;P&gt;Thank you Martin! &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;Yes Eric, my mistake, I write down quickly.&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 11:13:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-Function-Call-from-Script-QV12-20/m-p/1421328#M428764</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-06T11:13:47Z</dc:date>
    </item>
  </channel>
</rss>

