Connecting Tech Pros Worldwide Help | Site Map

Snap shot viewer

DD
Guest
 
Posts: n/a
#1: Nov 13 '05
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
Rick Brandt
Guest
 
Posts: n/a
#2: Nov 13 '05

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


Closed Thread