Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I cant seem to find any good documentation on passing a parameter from command line execution of a .qvw. I want to call a vbscript which will generate a certain parameter number. I then want to call and reload a script passing in this parameter.
From the looks of it, the syntax would be something like
"C:\qvDirectory\qv.exe" /r /vParameterNum=1 "C:\FeedMeParameter.qvw"
Only when I do this, the document refreshes, but I cant see any evidence of ParameterNum anywhere? Anyone know where I'm going wrong with this? Thanks!
Hi Rich, you have to create the variable in the document before passing a value using the command line. In this case, you want to create a variable named ParameterNum in the document. After you execute "C:\qvDirectory\qv.exe" /r /vParameterNum=1 "C:\FeedMeParameter.qvw" you can expect the value of the variable update to 1.
Regards
Hi Rich, you have to create the variable in the document before passing a value using the command line. In this case, you want to create a variable named ParameterNum in the document. After you execute "C:\qvDirectory\qv.exe" /r /vParameterNum=1 "C:\FeedMeParameter.qvw" you can expect the value of the variable update to 1.
Regards
Hi Rich, you have to create the variable in the document before passing a value using the command line. In this case, you want to create a variable named ParameterNum in the document. After you execute "C:\qvDirectory\qv.exe" /r /vParameterNum=1 "C:\FeedMeParameter.qvw" you can expect the value of the variable update to 1.
Regards
Ah, thanks Ivan! In retrospect, fairly obvious!