skwilliams
10-24-2005, 12:47 PM
I have a database listed in my Windows task scheduler that auto-generates a snapshot file.
The code used works properly but still asks for the save location.
Here's the code within the procedure.
Dim stDocName As String
stDocName = "rptMain"
DoCmd.OutputTo acOutputReport, stDocName, acFormatSNP, "C:\Inetpub\wwwroot\QtyStock\rptMain.snp", False
Any ideas??
The code used works properly but still asks for the save location.
Here's the code within the procedure.
Dim stDocName As String
stDocName = "rptMain"
DoCmd.OutputTo acOutputReport, stDocName, acFormatSNP, "C:\Inetpub\wwwroot\QtyStock\rptMain.snp", False
Any ideas??