Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

Not applicable

Set variables from a file when runing script?

I have a bunch of string variables defined in our script. I would like to be able to set the string variables from a file when the script is run. How do I do this?

Currently using this...

SET vString1= "some string one...";
SET vString2 = "some string two...";

but want this...

SET stringVariableNameFromAFile1 = string from a file
SET stringVariableNameFromAFile2 = string from a file

where file structure might be CSV:

vString1, some string one...

vString2, some string two...

Tags (1)
1 Solution

Accepted Solutions

Set variables from a file when runing script?

See TIm Benoit's blog post here

http://qlikviewmaven.blogspot.com/2008/12/loading-variables-via-loadscript.html

for a suggestion.

-Rob

1 Reply

Set variables from a file when runing script?

See TIm Benoit's blog post here

http://qlikviewmaven.blogspot.com/2008/12/loading-variables-via-loadscript.html

for a suggestion.

-Rob

Community Browser