<?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 VBScript inputbox() function not calling from Qlikview script. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/VBScript-inputbox-function-not-calling-from-Qlikview-script/m-p/275975#M102972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you really must have input like this, use the Input function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Country,recno(),&lt;/P&gt;&lt;P&gt;Capital,&lt;/P&gt;&lt;P&gt;"Area(km.sq)",&lt;/P&gt;&lt;P&gt;"Population(mio)"&lt;/P&gt;&lt;P&gt;from country1.csv (ansi, txt, delimiter is ',', embedded labels)&lt;/P&gt;&lt;P&gt;where "Population(mio)" &amp;lt;= Input('Max population in millions :');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But consider wider implications - this won't work on a server implementation.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jun 2011 23:12:46 GMT</pubDate>
    <dc:creator>stephencredmond</dc:creator>
    <dc:date>2011-06-10T23:12:46Z</dc:date>
    <item>
      <title>VBScript inputbox() function not calling from Qlikview script.</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-inputbox-function-not-calling-from-Qlikview-script/m-p/275974#M102971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am trying to implement below code according to Qlikview Reference manual. First i received the error for "file not found" for that i have created country1.csv file in the same folder where i have my .qvw. Now trying to run the application but not getting prompt for max population and ref country.&lt;/P&gt;&lt;P&gt;If i try to give hard coded value in VBin function say VBin12=30000000 i get the data filter accordingly and display in the table box object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can call the VBscript function from Qlikview script but not able to display the inputbox() of VBscript. (ref function VBin(prompt) below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be great if anyone help me out with this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function VBin(prompt)&lt;/P&gt;&lt;P&gt;VBin=inputbox(prompt)&lt;/P&gt;&lt;P&gt;end function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function VBclearFlag()&lt;/P&gt;&lt;P&gt;flag=0&lt;/P&gt;&lt;P&gt;end function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function VBrelPos(Ref, Current)&lt;/P&gt;&lt;P&gt;if Ref=Current then&lt;/P&gt;&lt;P&gt;VBRelPos="Reference"&lt;/P&gt;&lt;P&gt;flag=1&lt;/P&gt;&lt;P&gt;elseif flag=0 then&lt;/P&gt;&lt;P&gt;VBRelPos="Before "&amp;amp;Ref&amp;amp;" in table"&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;VBRelPos="After "&amp;amp;Ref&amp;amp;" in table"&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;end function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let MaxPop=VBin('Max population in millions :');&lt;/P&gt;&lt;P&gt;let RefCountry=VBin('Reference country :');&lt;/P&gt;&lt;P&gt;let dummy=VBclearFlag();&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Country,recno(),&lt;/P&gt;&lt;P&gt;Capital,&lt;/P&gt;&lt;P&gt;"Area(km.sq)",&lt;/P&gt;&lt;P&gt;"Population(mio)",&lt;/P&gt;&lt;P&gt;VBrelPos('$(RefCountry)',Country) as RelativePos&lt;/P&gt;&lt;P&gt;from country1.csv (ansi, txt, delimiter is ',', embedded labels)&lt;/P&gt;&lt;P&gt;where "Population(mio)" &amp;lt;= $(MaxPop);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 08:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-inputbox-function-not-calling-from-Qlikview-script/m-p/275974#M102971</guid>
      <dc:creator />
      <dc:date>2011-06-09T08:15:27Z</dc:date>
    </item>
    <item>
      <title>VBScript inputbox() function not calling from Qlikview script.</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-inputbox-function-not-calling-from-Qlikview-script/m-p/275975#M102972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you really must have input like this, use the Input function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Country,recno(),&lt;/P&gt;&lt;P&gt;Capital,&lt;/P&gt;&lt;P&gt;"Area(km.sq)",&lt;/P&gt;&lt;P&gt;"Population(mio)"&lt;/P&gt;&lt;P&gt;from country1.csv (ansi, txt, delimiter is ',', embedded labels)&lt;/P&gt;&lt;P&gt;where "Population(mio)" &amp;lt;= Input('Max population in millions :');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But consider wider implications - this won't work on a server implementation.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 23:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-inputbox-function-not-calling-from-Qlikview-script/m-p/275975#M102972</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2011-06-10T23:12:46Z</dc:date>
    </item>
  </channel>
</rss>

