Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I saw some posts but none shows a simple way to pass one or two parameters to a new .qvw file you open with a button, such as from a "parent" menu app to a child data-crunching app.
Any hints at where to look for?
Thanks
Flavio
Hi Flavio,
If possible could you please attach the Sample.
Thanks a lot,
Pratul.
Unfortunately I cannot, tried without success even messages go out very slowly. Must be a question of firewall etc. that I have no time to investigate further. I'll try again as soon as I can.
Sorry
Flavio
Hi Michael, I am trying to reload one qvw file thru another using execute /r and its reloading too BUT I want to pass some variables too using /vVariableName=value into the called file but its not working. Can u pls help me in this.
Hi Mahasweta,
I tried to implement your solution and wonder whether this works also from Accesspoint. How the Second .qvw is opening from first .qvw
did u implement this one?
Regards
Sravan
Mahasweta wrote:
Hi Flavio,
Actually am new to QlickView.
I have the requirement which sounds similar to this.
I have one document where am showing the list of reports to the user, then the user will select the reports as per his wish.
Once he clicks on one report name, that specific document should open up in other window(which is another Qvw document), and again the user should able to come back to the original document to select other document as well.Its something like calling other document from the existing one / navigating from one document to other.
Am i clear here?
Could you please help me out in this ?
Thanks in adavance,
Mahasweta
<div></div>
Flavios,
I tried with your code to transfer a variable with data to another qvw file. I written your code in button action but when i'm clicking the button it displays "Fail to open document" in message box. I'm working on QlikView 10.
when i click the ok button it shows the error in macro code like this..
How can i overcome this...
Hi Flavios,
I used your below code, in that i need to create a new variable in another QVW file through macro code. And should pass the parameter of one QVW to another QVW.
sub runDoc
set Var=ActiveDocument.Variables("Var_A_01")
set App=ActiveDocument.GetApplication
---> //HERE I NEED TO CREATE A VARIABLE i.e; "VAR_B_01" in macro code.
set UserFile = App.OpenDoc ("filename.qvw","","")
set v = UserFile.Variables("Var_B_01")
v.SetContent Var.GetContent. String,true
ActiveDocument.ClearAll false
end sub
How it is possible.
Pls share your ideas on this.
Regards
Venkat
Hi,
Can you share the sample file as i need to pass the selection from one qvw to another qvw.
may you please supply us with sample documents
Can yo attach sample file?
Can yo attach sample file?