SendObject - Snapshot ?

K

Kevin Dawson

Can a Snapshot report be sent using the
SendObject method?

I have Access 2002 and that type is not listed in the help
file for the sendobject method. Does anyone know if there
is a way to do it or if it is added in Access 2003?
 
D

Dirk Goldgar

Kevin Dawson said:
Can a Snapshot report be sent using the
SendObject method?

I have Access 2002 and that type is not listed in the help
file for the sendobject method. Does anyone know if there
is a way to do it or if it is added in Access 2003?

It's not listed, but try specifying "Snapshot Format" -- as a string
literal with the quotes -- as the OutputFormat argument of the
SendObject method. It works for me:

DoCmd.SendObject _
acSendReport, _
"Report1", _
"Snapshot Format", _
"(e-mail address removed)", _
, _
, _
"My Email Subject", _
"My message text."
 
G

Guest

Hi

On the topic of creating snapshop files... does anyone know how I could print a snapshot report from the command line by sending it to a printer? I can get it to work for text files but not for snapshot reports

copy J:\testreport.snp \\printername\P001

Any assistance would be very appreciated!
 

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

Similar Threads


Top