Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

gyana_s
New Contributor

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
Honored Contributor

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

I think not possible. because both are independent .

3 Replies
suniljain
Honored Contributor

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

I think not possible. because both are independent .

Not applicable

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

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
Valued Contributor III

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

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.

Community Browser