可以使用SendObject发送多个附件吗? [英] Can SendObject be used to send more than a single attachment?
问题描述
我想使用SendObject发送2个报告。
像这样的东西会很好...
DoCmd SendObject A_REPORT,rpt1; " rpt2",A_FORMATRTF,MyRecip ,,,
MySubject,MyBodyText,0
....除了这个语法赢了''编译。
建议?
" MLH" < CR ** @ NorthState.net>在消息中写道
news:02 ******************************** @ 4ax.com ...我想使用SendObject发送2个报告。
像这样的东西会做得很好......
DoCmd SendObject A_REPORT,rpt1; rpt2,A_FORMATRTF,MyRecip ,,,
MySubject,MyBodyText,0
...除了这个语法不能编译的事实。
建议?
你不能使用SendObject来做到这一点。你需要使用另一个邮件的自动化
程序。我使用Outlook和CDO库来完成这些工作。
的示例代码如下链接。
http://www.mvps.org/access/modules/mdl0019.htm
MLH< CR * *@NorthState.net>写道:
我想使用SendObject发送2个报告。
不能这样做。请参阅我的网站上的访问电子邮件常见问题解答。
Tony
-
Tony Toews,Microsoft Access MVP
请仅在新闻组中回复,以便其他人可以阅读整个邮件主题。
Microsoft Access Links,Hints,Tips&会计系统
http://www.granite.ab.ca /accsmstr.htm
Thx。有没有办法可以将这种技术应用到Access Basic中
Access 2.0?
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx
2003年9月16日星期二10: 41:06 - 0500,Rick Brandt < RB ***** @ Hunter.Com>
写道:
http://www.mvps.org/access/modules/mdl0019.htm
I want to send 2 reports using SendObject.
Something like this would do nicely...
DoCmd SendObject A_REPORT, "rpt1";"rpt2", A_FORMATRTF, MyRecip, , ,
MySubject, MyBodyText, 0
....except for the fact that this syntax won''t compile.
Suggestions?
"MLH" <CR**@NorthState.net> wrote in message
news:02********************************@4ax.com...I want to send 2 reports using SendObject.
Something like this would do nicely...
DoCmd SendObject A_REPORT, "rpt1";"rpt2", A_FORMATRTF, MyRecip, , ,
MySubject, MyBodyText, 0
...except for the fact that this syntax won''t compile.
Suggestions?
You can''t use SendObject to do this. You need to use automation of another mail
program. I use Outlook and CDO libraries for this stuff. There is example code at
the link below.
http://www.mvps.org/access/modules/mdl0019.htm
MLH <CR**@NorthState.net> wrote:
I want to send 2 reports using SendObject.
Can''t do it. See the Access Email FAQ at my website for alternatives.
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Thx. Is there a way I can adapt this technique to Access Basic in
Access 2.0?
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx
On Tue, 16 Sep 2003 10:41:06 -0500, "Rick Brandt" <RB*****@Hunter.Com>
wrote:
http://www.mvps.org/access/modules/mdl0019.htm
这篇关于可以使用SendObject发送多个附件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!