Hi Adam, this is brillient, just what I was looking for too...well, almost.
I just need to put a small spanner in the works. What is the best way to give the file name yesterday's date? I have tried fitting "DATEADD(m, - 1, { fn CURDATE() })" into your script but it aint having it. Any ideas?
Regards,
Ged