I have a report that generates several graphs and saves the raw data tables used for each graph as a file a using a different variable as part of the naming convention.
I want to add a button to each graph so that you can open the raw data.Is there a way to create a button that will open the raw data table using the previously saved file path.
I have used the code below to succesfully save the files and create the buttons but the file path always uses the last instance of the variable.
I suppose i was hoping when it created the button it would actually point to the correct file path/write the correct file path. Is this even possible or am i a few sandwichs short of a picnic!
Thanks for any advice.....
(temp, save("\\filepath\File_"||variable||"report.txt" ));
Data_button = V List Box( Button Box("OPEN RAW DATA "||variable||"", open("\\filepath\File_"||variable||"report.txt" )));
data_button <<journal;