Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
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...

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

1 Reply
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

See TIm Benoit's blog post here

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

for a suggestion.

-Rob