Connecting Tech Pros Worldwide Help | Site Map

Snap shot viewer

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 01:32 AM
DD
Guest
 
Posts: n/a
Default Snap shot viewer

Can any one help,
I want to send more than one snapshot on and email
My code is
DoCmd.SendObject acSendReport, "rptCashBook", "rptCashBookDetail",
acFormatSNP, _
"", , , "My Financial Report....", "If you can not view the report you
will need to download the free copy reader at
www.microsoft.com/downloads", True


However i get an error if i have the second rpt.

Can anyone advise where i am going wrong

regards
DD

  #2  
Old November 13th, 2005, 01:32 AM
Rick Brandt
Guest
 
Posts: n/a
Default Re: Snap shot viewer

"DD" <david.deacon@bigpond.com.au> wrote in message
news:1412655e.0408021604.446aadb@posting.google.co m...[color=blue]
> Can any one help,
> I want to send more than one snapshot on and email
> My code is
> DoCmd.SendObject acSendReport, "rptCashBook", "rptCashBookDetail",
> acFormatSNP, _
> "", , , "My Financial Report....", "If you can not view the report you
> will need to download the free copy reader at
> www.microsoft.com/downloads", True
>
>
> However i get an error if i have the second rpt.
>
> Can anyone advise where i am going wrong[/color]

It's named SendObject rather than SendObjects for a reason. Only one object per
email allowed.

You can automate CDO, Outlook or another messaging library and then have
multiple attachments, but not using SendObject.


--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.