Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Store file with a new name every reload

Hi,

I want to run a task that store a file every month but i need the filenamed thats beeing stored different everytime.

Hence, in the end of the script;

Store table into file1.txt(txt); //First month, first reload

Store table into file2.txt(txt); //secound moth, secound reload

etc..

I pretty new to this so be gentle..

Thank you!

1 Solution

Accepted Solutions
Not applicable
Author

Determine a name of file based on the month for example LET MyName=TEXT(date(today(),'YYYYMM')

Then Store MyTable into MyTable$(MyName).qvd;

Rgds,

Sébastien

View solution in original post

2 Replies
Not applicable
Author

Determine a name of file based on the month for example LET MyName=TEXT(date(today(),'YYYYMM')

Then Store MyTable into MyTable$(MyName).qvd;

Rgds,

Sébastien

Not applicable
Author

That's a really good idea! Why didn't i think of that!

Thank you so much for your quick answer!

//A.