I think my issue was similar to yours and I have it so solved:
let vCounter = ((year(today() - 1) - year('01.02.2012')) * 12) + (month(today() - 1) - month('01.02.2012'));
for i = 0 to $(vCounter)
let vZeitraum = date(AddMonths('01.02.2012', $(i)), 'YYYY_MM');
FROM [$(ftp)$(datafile)$(vZeitraum)$(ext)] (txt, codepage is 1252, embedded labels, delimiter is ';', no quotes);
if I understood your code correctly, you knew at what date (or month) to begin your LOOP - the start_date was apparently Feb_2012.
Ah, I see - you count 12 for every year past since then and add the nr. of months past since then.
Apparently, in your case, there was a separate file to load for each month.
Thanks for sharing!
Well, my scenario is in one aspect a bit easier - yet - for I am loading from an Excel file that, so far, is for one year only. That, however, is supposed to change so that next year one will be able to look at this year's data in QlikView.
So I will also have to think of a way to make the code flexible so there will not be malfunctions all over the place on January 2, 2014... we have a load of Excel lists like this ;-)
Thanks a lot!