Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report snapshot was not created - not enough disk space

Status
Not open for further replies.

oystercracker

Technical User
Jun 11, 2001
13
0
0
US
DoCmd.OutputTo acOutputReport,"rptPending","d:\Archive" produces a runtime error 2024: The report snapshot was not created because you don't have enough free disk space for temporary work files. The report is very small and available disk space is at least 10Gigs. TIA for any help.
 
OK. Dumb. I thought Access would use file name the report name as a file name. Sometimes I get tripped up by doing what Access does by itself! Just learn it, I guess.
 
I guess you figured out the answer yourself - but what was it? I have the same error message and symptoms but can't figure out what you did!
 
Anyone get an answer on this... I just hit it also! tia, Steve

Steve Medvid
"IT Consultant & Web Master"

Chester County, PA Residents
Please Show Your Support...
 
Here is code... What is strange is that this has worked fine for months... and no changes have been made. any help is appreciated. Steve

...
'a hardcoded array list is not the prefernce however there was difficulty
'in iterating the report collection in the remote database
ReportList(0) = "FAS133 Bucket Price Sensitivity"
ReportList(1) = "FAS133 Bucket Price Sensitivity by Dur"
ReportList(2) = "FAS133 Bucket Price Sensitivity Report"
ReportList(3) = "FAS133_Bucket_Summary"
ReportList(4) = "FAS133_Bucket_Summary_Down"
ReportList(5) = "FAS133_Bucket_Summary_up"
'the following report does not work in the out-of-the-box version of ANT - Reason unknown 04/04/2002
'ReportList(6) = "FAS133_PriceSensitivity"
ReportList(7) = "Hedge_Allocation_Summary"
ReportList(8) = "Hedge_Correlation_Test"
ReportList(9) = "TrancheShockDetail_Price_Sensitivity"

ArchiveFldr = ConcatArchiveFolder(Period, HedgeEnd, Strata, OtherDescp)
'get a handle on the remote database object
ReportDBName = AppGlobal.GetApplicPath("LIVE_ANT") & "user\FAS133_Report.mdb"
Set appAccess = CreateObject("Access.Application.9")
appAccess.OpenCurrentDatabase ReportDBName

'iterate the array and output each report in the remote db to snapshot format and save into the archive directory

For r = 0 To UBound(ReportList)

If ReportList(r) <> &quot;&quot; Then

HERE IS WHERE CODE FAILS WITH ERROR 2024!

appAccess.DoCmd.OutputTo acOutputReport, ReportList(r), acFormatSNP, _
AppGlobal.GetApplicPath(&quot;ARCHIVE_ANT&quot;) & ArchiveFldr & &quot;\&quot; & ReportList(r) & &quot;.snp&quot;, False
End If

Next r

Steve Medvid
&quot;IT Consultant & Web Master&quot;

Chester County, PA Residents
Please Show Your Support...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top