
OutputTo and Destination path
I have the following problem.
I have a series of queries that I run each month and I want to Output
ther results of the queries into different folders each month (ie
October98; November98 etc...).
I created a dialog form in which I select the parameters (month and
year) for the queries. How do I now tell Access that it has to store the
output Excel files into the correct folder for that month?
I have tried to play around with the expression below but couldnt find
the correct way to do it.
Does anybody can help??
Thanks
enrico
DoCmd.OutputTo acOutputQuery, "Queryname", acFormatXLS,
"c:\october98\filename.xls"