WordTechinc
Programmer
- Sep 4, 2009
- 38
I want to save the report with date and time to eliminate replace existed report. I am getting a message "The report snapshot was not created because you don't have enough free space for temporary work files."
Here is code;
Dim stDocName As String
Dim stFileName As String
Dim StDate As String
StDate = Now()
stFileName = "c:\NCTAX\Report\PaymentInfomation_RealEstate-" & StDate & ".snp"
stDocName = "rptRETBankRequestPaymentInfo"
DoCmd.OutputTo acReport, stDocName, "Snapshot Format (*.snp)", stFileName
Here is code;
Dim stDocName As String
Dim stFileName As String
Dim StDate As String
StDate = Now()
stFileName = "c:\NCTAX\Report\PaymentInfomation_RealEstate-" & StDate & ".snp"
stDocName = "rptRETBankRequestPaymentInfo"
DoCmd.OutputTo acReport, stDocName, "Snapshot Format (*.snp)", stFileName