Discussion Board for collaboration on QlikView Scripting.
Good morning all !
Someone know how can I insert the content of a text file into a variable in the script ?
Thanks a lot
Go to Solution.
It is same as declaring a Variable inside your script.
Let vTest = 'Test Load';
inside your text file.
Now Gp to your Dashboard -> Edit Script -> Insert -> Include Statement -> Then select the Text File just created.
Load the Dashboard and see the Variable is created inside your dashboard.
I does not work, I've got an error on the line :
tab2 = $(Include=c:\users\vboudart\desktop\modeli\appli\textfile.txt);
The content of my text file is like this : France,Belgium,USA, .....................
Ok, I have add ' like this ;
LET tab = '$(Include=c:\users\vboudart\desktop\modeli\appli\textfile.txt)';
and it's work.