[AccessD] OutputTo problem

Jim Hewson JHewson at karta.com
Fri Mar 25 10:43:39 CST 2005


Access 2000, Snapshot Viewer.

For the last several months, the code has been working properly for several users.

In the last couple of days a few of the users (including myself) get an error message that reads:  "The report snapshot was not created because you do not have enough free disk space for temporary work files."

MS Knowledge Base indicates the problem is associated by one of three factors.
1. No file name:  the parameters for OutPutTo indicates there is no need for a file name.  When I take out the file to output to it works.
2.  Invalid characters - none present.
3.  Path specified does not exist - I'm using the default path (My Documents).

Help files indicates that if a file is named with no path the default path is used.  That is what I have been using.

Below is the code line.
    DoCmd.OutputTo acReport, "rptCorporateTopList", acFormatSNP, "Corporate Top List - " & Date & ".snp", True

If I take out the date, it works.
If I remove the Output to file name, it works.

I checked references, they all seem to be there.

Why is the date function not working?
Why is this not working?

TIA
Jim


More information about the AccessD mailing list