Discussion Board for collaboration on QlikView Scripting.
Is It possible to pass the value of one variable from one qvw file to another qvw file?
Is yes, pls help me how to do it.
Go to Solution.
I think not possible. because both are independent .
Depending on what you wanted to do with it you can access a variable from another document.
For example this code will create an instance of qlikview, open the file and get a handle on the variable
'Create an instance of QlikView
set Qv = CreateObject("QlikTech.QlikView")
Set docObj = Qv.OpenDocEx ("file.qvw",0,false) ' Open the document
set var = docObj.Variables("varName")
The code which you have written is not working for me. Can you please explian briefly how to transfer a variable to another qlikview file along with data of variable.