Access 2003 returns an error when OutputTo creates a SNP file

G

Guest

hi

We have a program developed with access 2000 that at current time we are migrating to Access 2003
During this process I observed a strange error. When we use OutputTo to export a report to a RTF, HML or a TXT file the process succefully generates the output file, but when we try to generate a SNP File we get the following error

Error 2282 : The format in which you try to export your report is not available

But, if we try to open SNP file the process works correctly

The instruction used to export a report to a File is

DoCmd.OutputTo acOutputReport, DocumentName, acFormatSNP, CurrentProject.Path & "\temp.html", Tru

I also tried to use "Snapshot Format (*.snp)" instead of acFormatSNP but the program still fails

Can anyone give me some information about this error?, is there any solution
Software Installed
Windows X
Office 2003 Professional (all components installed, full installation)
Access Developer Extension
 
G

Guest

Problem solved

Instead of replace acFormatSNP by "Snapshot Format (*.snp)" we defined a consant like the one in the following line

Globals Const jacFormatSNP="*.snp

with that the program runs with no problems
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top