473,378 Members | 1,209 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Export a report to SNP format by vba

Hi NG

I try to export a report, by using the following code - it fails with
errorcode: 2282

DoCmd.OutputTo acOutputReport, "Faktura", acFormatSNP, stinavn & "\" &
strName & ".snp", True

if I write

DoCmd.OutputTo acOutputReport, "Faktura", acFormatRTF, stinavn & "\" &
strName & ".RTF", True

It works perfect.

Any ideas what I can do to make the Acformatsnp to work?

TIA JJ
Oct 7 '08 #1
3 7462
On Tue, 7 Oct 2008 22:17:11 +0200, "Carl Hansen"
<Ca*********@hotmail.comwrote:

Can you create ANY .snp file, for example when you are previewing a
report and then choose Send Email, and when prompted for a format
choose Snapshot.
If not, you have some installing to do.
Can you repeat the behavior on other computers?

-Tom.
Microsoft Access MVP
>Hi NG

I try to export a report, by using the following code - it fails with
errorcode: 2282

DoCmd.OutputTo acOutputReport, "Faktura", acFormatSNP, stinavn & "\" &
strName & ".snp", True

if I write

DoCmd.OutputTo acOutputReport, "Faktura", acFormatRTF, stinavn & "\" &
strName & ".RTF", True

It works perfect.

Any ideas what I can do to make the Acformatsnp to work?

TIA JJ
Oct 8 '08 #2
Hi tom

When I preview a report I can make a snp file by doing: File --Export and
then choose snp in file type

Best regards
Henrik
"Tom van Stiphout" <to*************@cox.netskrev i en meddelelse
news:lj********************************@4ax.com...
On Tue, 7 Oct 2008 22:17:11 +0200, "Carl Hansen"
<Ca*********@hotmail.comwrote:

Can you create ANY .snp file, for example when you are previewing a
report and then choose Send Email, and when prompted for a format
choose Snapshot.
If not, you have some installing to do.
Can you repeat the behavior on other computers?

-Tom.
Microsoft Access MVP
>>Hi NG

I try to export a report, by using the following code - it fails with
errorcode: 2282

DoCmd.OutputTo acOutputReport, "Faktura", acFormatSNP, stinavn & "\" &
strName & ".snp", True

if I write

DoCmd.OutputTo acOutputReport, "Faktura", acFormatRTF, stinavn & "\" &
strName & ".RTF", True

It works perfect.

Any ideas what I can do to make the Acformatsnp to work?

TIA JJ

Oct 11 '08 #3
Carl Hansen wrote:
Hi tom

When I preview a report I can make a snp file by doing: File -->
Export and then choose snp in file type
What version of Access?

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Oct 12 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: David Lauberts | last post by:
Hi Wonder if someone has some words of wisdom. I have a access 2002 form that contains 2 graph objects that overlay each other and would like to export them as a JPEG to use in a presentation....
7
by: Pat | last post by:
I would like to send the Print Preview of a MS Access form to a Snapshot file. The form contains an OLE graph. BACKGROUND A snapshot of a report is possible. If I could I would use a report to...
6
by: Robin Cushman | last post by:
Hi all, I need some help -- I'm working with an A2K database, using DAO, and am trying to read records into a Crystal Report and then export it to a folder on our network as an Excel...
2
by: PerryC | last post by:
Is there a way to export an MS Access Report to Word/Excel that looks EXACTLY like it appears in Access? When I export to Excel, only certain data appears, titles, headings... all missing. The...
2
by: jpodesta | last post by:
I am working on a trade processing project for my company. I would like to export a report directly to .csv format. I have looked all over in the groups for a way to do this. Appearently something...
0
by: David Valle | last post by:
Hi, i've follow an example that Gabriele G. Ponti wrote on 8/5/2003 about the export of a report made in Crystal Report in PDF format, this: ...
0
by: suicidaltendencies | last post by:
I'm able to view the report, but when I click the button on the webpage that shows the report to export into a different format it gives me an error on Export. Any help would be great I keep...
0
by: Leonard Danao | last post by:
Anyone have any ideas as to why this is happenning. There are no other versions of Crystal installed aside from the one that came with vs2003 enterprise. the error happens when the...
0
by: Mariana | last post by:
Hello, I am exporting reports in pdf format from .net 2005 . The export is working fine; however the user values of stored procedure parameters does not show in the report. What do I need to do in...
1
by: ttfitz | last post by:
I have an application developed in Access 2000, to be distributed as an MDE. For those folks without Access, they install the free Access 2007 runtime. For the most part, this seems to be working...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.