I am exporting snaphot files on 1st of each month. I want each file i export to automatically insert the current date.
I have set the current date to a variable named DateTime and tried inserting this into my export string but it didn't like this... see below....
Anyone have any other suggestions???
I have set the current date to a variable named DateTime and tried inserting this into my export string but it didn't like this... see below....
Code:
DoCmd.OutputTo acOutputReport, "Employer Funding Report (By Employer)", "Snapshot Format", "c:\my documents\siobhan\testsnapshot"&DateTime&".snp"
Comment