<?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 Not able to pass multiple paramaters in qvp in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141417#M505189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Hi all&lt;/P&gt;&lt;P style="font-weight: bold"&gt;I am stuck in a v.simple problem . I am not able to pass multiple variables through qvp.&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P&gt;&lt;B&gt;set Shell = createobject&lt;/B&gt;("wscript.shell")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shell.Run&lt;/P&gt;&lt;P&gt;"iexplore qvp://servername/Dashboards/rma1.qvw?values=Email Security &amp;amp; catvalue=HIGH-END HW"&lt;/P&gt;&lt;P&gt;full code is like this , i am writting a macro and firing tha on a button click :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;sub&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;set&lt;/P&gt;&lt;P&gt;doc = ActiveDocument&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;App = Doc.GetApplication&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;values=Doc.Fields("LOB" &lt;P&gt;).GetSelectedValues&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;values=doc.Fields("LOB" &lt;P&gt;).GetPossibleValues&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;v = ActiveDocument.GetVariable("values" &lt;P&gt;)&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;MsgBox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(v.GetContent. &lt;B&gt;String&lt;/B&gt; &lt;P&gt;)&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;Shell = &lt;B&gt;createobject&lt;/B&gt;("wscript.shell" &lt;P&gt;)&lt;/P&gt;&lt;P&gt;"iexplore qvp://serveranme/Dashboards/rma1.qvw?values=Email Security &amp;amp; catvalue=HIGH-END HW"&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;sub&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; ChooseCurrentSelect&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help !!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Preena&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Apr 2009 22:30:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-04-15T22:30:49Z</dc:date>
    <item>
      <title>Not able to pass multiple paramaters in qvp</title>
      <link>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141417#M505189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Hi all&lt;/P&gt;&lt;P style="font-weight: bold"&gt;I am stuck in a v.simple problem . I am not able to pass multiple variables through qvp.&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P&gt;&lt;B&gt;set Shell = createobject&lt;/B&gt;("wscript.shell")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shell.Run&lt;/P&gt;&lt;P&gt;"iexplore qvp://servername/Dashboards/rma1.qvw?values=Email Security &amp;amp; catvalue=HIGH-END HW"&lt;/P&gt;&lt;P&gt;full code is like this , i am writting a macro and firing tha on a button click :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;sub&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;set&lt;/P&gt;&lt;P&gt;doc = ActiveDocument&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;App = Doc.GetApplication&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;values=Doc.Fields("LOB" &lt;P&gt;).GetSelectedValues&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;values=doc.Fields("LOB" &lt;P&gt;).GetPossibleValues&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;v = ActiveDocument.GetVariable("values" &lt;P&gt;)&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;MsgBox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(v.GetContent. &lt;B&gt;String&lt;/B&gt; &lt;P&gt;)&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;Shell = &lt;B&gt;createobject&lt;/B&gt;("wscript.shell" &lt;P&gt;)&lt;/P&gt;&lt;P&gt;"iexplore qvp://serveranme/Dashboards/rma1.qvw?values=Email Security &amp;amp; catvalue=HIGH-END HW"&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;sub&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; ChooseCurrentSelect&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help !!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Preena&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 22:30:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141417#M505189</guid>
      <dc:creator />
      <dc:date>2009-04-15T22:30:49Z</dc:date>
    </item>
    <item>
      <title>Not able to pass multiple paramaters in qvp</title>
      <link>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141418#M505190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your rma1.qvw, do you have the variables 'values' and 'catvalue' defined? I think it is also case sensitive.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 23:13:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141418#M505190</guid>
      <dc:creator />
      <dc:date>2009-04-15T23:13:50Z</dc:date>
    </item>
    <item>
      <title>Not able to pass multiple paramaters in qvp</title>
      <link>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141419#M505191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to the requirement that variables be predefined, you'll also have to encode any spaces in the url. The correct syntax would be:&lt;/P&gt;&lt;P&gt;"iexplore qvp://servername/Dashboards/rma1.qvw?values=Email%20Security&amp;amp;catvalue=HIGH-END%20HW"&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 04:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141419#M505191</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-04-16T04:24:40Z</dc:date>
    </item>
    <item>
      <title>Not able to pass multiple paramaters in qvp</title>
      <link>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141420#M505192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rob , gordon !!&lt;/P&gt;&lt;P&gt;Thanks for your reply ! i have declared the two variables in my rma1 report and have hardcoded like specified. it worked. i am still left with two more issues: if you can see in my base report code i have put a msgbox to get the selection values of LOB list box which i am still not able to . Is this because of spaces in between the selected text .? Do i need to put %20 in the selected text if it contains spaces. My motive is to pass the selected items of lob and catvalue list box to rma1 report , they can be multiple selections also .&lt;/P&gt;&lt;P&gt;Will be really very thankful to you !!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Preena&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 16:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141420#M505192</guid>
      <dc:creator />
      <dc:date>2009-04-16T16:00:36Z</dc:date>
    </item>
    <item>
      <title>Not able to pass multiple paramaters in qvp</title>
      <link>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141421#M505193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont know the answer to your question but looking at your code (this forum really doesnt seem to like pasted code does it?) your second 'set values' would seem to replace the contents of the first.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 16:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141421#M505193</guid>
      <dc:creator />
      <dc:date>2009-04-16T16:21:27Z</dc:date>
    </item>
    <item>
      <title>Not able to pass multiple paramaters in qvp</title>
      <link>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141422#M505194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gordon&lt;/P&gt;&lt;P&gt;Here is my latest code(Apolozies for the last pasted one!) :&lt;/P&gt;&lt;P&gt;In base report macro :&lt;/P&gt;&lt;P&gt;set doc = ActiveDocument&lt;BR /&gt; set App = doc.GetApplication&lt;BR /&gt; set values=doc.fields("LOB").GetSelectedValues&lt;BR /&gt; set values=doc.fields("LOB").GetPossibleValues&lt;BR /&gt; set v = ActiveDocument.GetVariable("values")&lt;BR /&gt; MsgBox(v.GetContent.String)&lt;BR /&gt; set values=doc.fields("Product Category").GetSelectedValues&lt;BR /&gt; set values=doc.fields("Product Category").GetPossibleValues&lt;BR /&gt; set Shell = createobject("wscript.shell")&lt;BR /&gt;Shell.Run "iexplore qvp://servername/Dashboards/rma_closed1.qvw?values="v"&amp;amp;catvalue="v // Problem is here when i am trying to pass the variable selection .&lt;/P&gt;&lt;P&gt;In rma1 report macro:&lt;/P&gt;&lt;P&gt;Sub onload&lt;BR /&gt;set v=ActiveDocument.GetVariable("values")&lt;BR /&gt;Msgbox(v.GetContent.String)&lt;BR /&gt;ActiveDocument.Fields("LOB").Select ActiveDocument.GetVariable( "values" ).GetContent.String&lt;BR /&gt;set v1=ActiveDocument.GetVariable("catvalue")&lt;BR /&gt;Msgbox(v1.GetContent.String)&lt;BR /&gt;ActiveDocument.Fields("Product Category").Select ActiveDocument.GetVariable( "catvalue" ).GetContent.String&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Preena&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 16:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141422#M505194</guid>
      <dc:creator />
      <dc:date>2009-04-16T16:26:58Z</dc:date>
    </item>
    <item>
      <title>Not able to pass multiple paramaters in qvp</title>
      <link>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141423#M505195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gordon, rob !!&lt;/P&gt;&lt;P&gt;One good news ! i am able to send two parameters with single values from my base report to rma1 . Here is the code of my base report:&lt;/P&gt;&lt;P&gt;sub ChooseCurrentSelect&lt;BR /&gt;&lt;BR /&gt; set doc = ActiveDocument&lt;BR /&gt; set App = doc.GetApplication&lt;BR /&gt; set values=doc.fields("LOB").GetSelectedValues&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.GetVariable("values")&lt;BR /&gt;&lt;BR /&gt; for i=0 to values.count-1&lt;BR /&gt; MsgBox(values.item(i).text)&lt;BR /&gt; next&lt;BR /&gt;&lt;BR /&gt; set prdvalues=doc.fields("Product Category").GetSelectedValues&lt;BR /&gt;&lt;BR /&gt; set Shell = createobject("wscript.shell")&lt;BR /&gt; Shell.Run "iexplore qvp://servername/Dashboards/rma_closed1.qvw?values=" &amp;amp; values.item(0).text &amp;amp; "&amp;amp;catvalue=" &amp;amp; prdvalues.item(0).text&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;and the code written in rma1 macro is :&lt;/P&gt;&lt;P&gt;Sub onload&lt;BR /&gt;set v=ActiveDocument.GetVariable("values")&lt;BR /&gt;Msgbox(v.GetContent.String)&lt;BR /&gt;ActiveDocument.Fields("LOB").Select ActiveDocument.GetVariable( "values" ).GetContent.String&lt;BR /&gt;set c=ActiveDocument.GetVariable("catvalue")&lt;BR /&gt;Msgbox(c.GetContent.String)&lt;BR /&gt;ActiveDocument.Fields("Product Category").Select ActiveDocument.GetVariable( "catvalue" ).GetContent.String&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;Now the thing left is to pass multiple values for each parameter: lob and product category.&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;Preena&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 18:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141423#M505195</guid>
      <dc:creator />
      <dc:date>2009-04-16T18:29:06Z</dc:date>
    </item>
    <item>
      <title>Not able to pass multiple paramaters in qvp</title>
      <link>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141424#M505196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am getting object required error: Object required: '[string: "abcd"]' when i trying to execute the following code :&lt;/P&gt;&lt;P&gt;sub ChooseCurrentSelect&lt;BR /&gt;&lt;BR /&gt; set doc = ActiveDocument&lt;BR /&gt; set App = doc.GetApplication&lt;BR /&gt;&lt;BR /&gt; set lobvalues=doc.fields("LOB").GetSelectedValues&lt;BR /&gt; set values = lobvalues.item(0).text // Error is coming for this line&lt;BR /&gt; for i=0 to lobvalues.count-1&lt;BR /&gt; MsgBox(lobvalues.item(i).text)&lt;BR /&gt; set values = values &amp;amp; "," &amp;amp; lobvalues.item(i).text&lt;BR /&gt; next&lt;BR /&gt;&lt;BR /&gt; set prdcatvalues=doc.fields("Product Category").GetSelectedValues&lt;BR /&gt; set prdvalues = prdcatvalues.item(0).text&lt;BR /&gt; for j=1 to prdcatvalues.count-1&lt;BR /&gt; MsgBox(prdcatvalues.item(j).text)&lt;BR /&gt; set prdvalues = prdvalues &amp;amp; "," &amp;amp; prdcatvalues.item(j).text&lt;BR /&gt; next&lt;BR /&gt;&lt;BR /&gt; set Shell = createobject("wscript.shell")&lt;BR /&gt; Shell.Run "iexplore qvp://servername/Dashboards/rma_closed1.qvw?values=" &amp;amp; values &amp;amp; "&amp;amp;catvalue=" &amp;amp; prdvalues&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;I am trying to concatenate all the selected values of lob list box into variable value separated by comma(,) and then in rma 1 i will split the string according to , and will bind as selection. Any clues for the error?&lt;/P&gt;&lt;P&gt;WIll be thankful to your help !!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Preena&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 19:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141424#M505196</guid>
      <dc:creator />
      <dc:date>2009-04-16T19:49:24Z</dc:date>
    </item>
    <item>
      <title>Not able to pass multiple paramaters in qvp</title>
      <link>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141425#M505199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are getting the object required error because the set statement expects an object, and the .Text members you are dealing with are strings.&lt;/P&gt;&lt;P&gt;But forget about the for loop. With a single line you can build a comma seperated list of values using QV concat().&lt;/P&gt;&lt;P&gt;values = ActiveDocument.Evaluate("concat(DISTINCT LOB, ',')")&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 09:14:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141425#M505199</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-04-17T09:14:01Z</dc:date>
    </item>
    <item>
      <title>Not able to pass multiple paramaters in qvp</title>
      <link>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141426#M505202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks rob !!, Thanks gordon !!&lt;/P&gt;&lt;P&gt;I am able to do that.&lt;/P&gt;&lt;P&gt;Soon i will upload the latest code here.&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;Preena&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 23:00:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141426#M505202</guid>
      <dc:creator />
      <dc:date>2009-04-17T23:00:56Z</dc:date>
    </item>
    <item>
      <title>Not able to pass multiple paramaters in qvp</title>
      <link>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141427#M505206</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;Following is the code that i used to pass multiple selections in multiple parameters to another report :&lt;/P&gt;&lt;P&gt;In the base report : (need to declare all th evariables used to pass as parameter):&lt;/P&gt;&lt;P&gt;rptypeval = ActiveDocument.Evaluate("concat(DISTINCT ReportType, ',')")&lt;BR /&gt;set v8=ActiveDocument.Fields("ReportType").GetSelectedValues&lt;BR /&gt;urlpart = " "&lt;BR /&gt;if (v8.Count &amp;gt; 0) then&lt;BR /&gt;urlpart = urlpart &amp;amp; "&amp;amp;rptypeval=" &amp;amp; rptypeval //In case more than one paramters,&lt;BR /&gt;end if used switch here and concat the url&lt;BR /&gt;set Shell = createobject("wscript.shell")&lt;BR /&gt;Shell.Run "iexplore qvp://servername/foldername/rma1.qvw?" &amp;amp; urlpart&lt;/P&gt;&lt;P&gt;Apart from this , set Macro Ssecurity level set to "Allow System Access"&lt;/P&gt;&lt;P&gt;Then in rma1.qvw:&lt;/P&gt;&lt;P&gt;set v=ActiveDocument.GetVariable("rptypeval")&lt;BR /&gt; valarray = split(v.GetContent.String,",",-1,1)&lt;BR /&gt; i=0&lt;BR /&gt; for i=Lbound(valarray) to UBound(valarray)&lt;BR /&gt; if(i=0)then&lt;BR /&gt; ActiveDocument.Fields("ReportType").Select valarray(i)&lt;BR /&gt; else&lt;BR /&gt; ActiveDocument.Fields("ReportType").toggleSelect valarray(i)&lt;BR /&gt; end if&lt;BR /&gt; next&lt;/P&gt;&lt;P&gt;Call this in macro on load .&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;Preena&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 18:13:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141427#M505206</guid>
      <dc:creator />
      <dc:date>2009-04-22T18:13:36Z</dc:date>
    </item>
    <item>
      <title>Not able to pass multiple paramaters in qvp</title>
      <link>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141428#M505208</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;Following is the code that i used to pass multiple selections in multiple parameters to another report :&lt;/P&gt;&lt;P&gt;In the base report : (need to declare all th evariables used to pass as parameter):&lt;/P&gt;&lt;P&gt;rptypeval = ActiveDocument.Evaluate("concat(DISTINCT ReportType, ',')")&lt;BR /&gt;set v8=ActiveDocument.Fields("ReportType").GetSelectedValues&lt;BR /&gt;urlpart = " "&lt;BR /&gt;if (v8.Count &amp;gt; 0) then&lt;BR /&gt;urlpart = urlpart &amp;amp; "&amp;amp;rptypeval=" &amp;amp; rptypeval //In case more than one paramters,&lt;BR /&gt;end if used switch here and concat the url&lt;BR /&gt;set Shell = createobject("wscript.shell")&lt;BR /&gt;Shell.Run "iexplore qvp://servername/foldername/rma1.qvw?" &amp;amp; urlpart&lt;/P&gt;&lt;P&gt;Apart from this , set Macro Ssecurity level set to "Allow System Access"&lt;/P&gt;&lt;P&gt;Then in rma1.qvw:&lt;/P&gt;&lt;P&gt;set v=ActiveDocument.GetVariable("rptypeval")&lt;BR /&gt; valarray = split(v.GetContent.String,",",-1,1)&lt;BR /&gt; i=0&lt;BR /&gt; for i=Lbound(valarray) to UBound(valarray)&lt;BR /&gt; if(i=0)then&lt;BR /&gt; ActiveDocument.Fields("ReportType").Select valarray(i)&lt;BR /&gt; else&lt;BR /&gt; ActiveDocument.Fields("ReportType").toggleSelect valarray(i)&lt;BR /&gt; end if&lt;BR /&gt; next&lt;/P&gt;&lt;P&gt;Call this in macro on load .&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;Preena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 18:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-able-to-pass-multiple-paramaters-in-qvp/m-p/141428#M505208</guid>
      <dc:creator />
      <dc:date>2009-04-22T18:14:48Z</dc:date>
    </item>
  </channel>
</rss>

