Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

passing the value of one variable from one qvw file to another qvw file

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.

thanks

1 Solution

Accepted Solutions
suniljain
Master
Master

I think not possible. because both are independent .

View solution in original post

3 Replies
suniljain
Master
Master

I think not possible. because both are independent .

Not applicable
Author

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")



jagannalla
Partner - Specialist III
Partner - Specialist III

Hi kal,

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.