Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I want to know if these is way to get value of an variable from another application qlikview, the same way like "binary" for get data from another application.
I can't write my variable in file text because the variable can be changed by user.
You can try parsing the values using the XML code that is part of each QVW (you can load the XML code using the wizard), it looks like
<VariableDescription>
<Name>vMax</Name>
<IsConfig>false</IsConfig>
<IsReserved>false</IsReserved>
<ShownValue></ShownValue>
<RawValue>3</RawValue>
<Comment></Comment>
</VariableDescription>
You can try parsing the values using the XML code that is part of each QVW (you can load the XML code using the wizard), it looks like
<VariableDescription>
<Name>vMax</Name>
<IsConfig>false</IsConfig>
<IsReserved>false</IsReserved>
<ShownValue></ShownValue>
<RawValue>3</RawValue>
<Comment></Comment>
</VariableDescription>
I think you can write a VBScript macro that opens the other document and retrieves the value of the variable from it. The challenge here, besides the trouble of writing a macro like that, is that opening a large document is quite slow.
Then, if you are loading that other document via BINARY already, then you can store your variables in a table and get the table loaded by the BINARY load.
Regarding your last comment - if your other application is running on the server and the users can enter the variable values, then nothing I said would work. Keep in mind that the variable values can be different for different users, so it's not quite easy to fetch the value that you are after...
cheers,
Oleg Troyansky
Hi,
i try your solution,il it work fine.
Then i use function "match" to get only 2 variables which i need for my second application.
Thanks