Welcome to the community !
Look at this example just to see how to add an action-button with a reload.
How did you solve the first part of you question to pass through a parameter in the script ?
Load.qvw 132.0 K
the code that i'm using is really simple:
In the actions of the button i use the set variable where i pick the current selection file with:
then i write a macro just to reload:
I searched for the function reload also but i couldn't find it so i wrote a macro to do it.
I hope it helped a bit more.
Sorry for taking such a long time for answering.
First of all, Thank you so much for your help. In the version 10 i can't find the reload function but as i wrote to Eugeny, I made a small macro to fix that problem.
I use this line to load the name of the files:
FileName() as FileName,
FilePath() as Path,
FileDir() as Dir
[C:\Users\Documents\Qlikview\23_11_11\Loading from several files in a folder\Sample\*.xlsx]
(ooxml, embedded labels, table is Sheet1);
Then i list the names in a multibox.