使用GroupWise发送电子邮件报告 [英] Email report using GroupWise

查看:82
本文介绍了使用GroupWise发送电子邮件报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。我有一个用于合同的Access DB。我已经使用Tony网站上的代码通过电子邮件发送每个人的报告,其中只包含使用GroupWise的信息。它工作得很好,但我有一个问题。现在,GroupWise代码之前的代码会根据时间条件生成报告。如果查询没有人的记录,则不会创建报告。麻烦的是,即使没有附件,GroupWise电子邮件的代码也会发送自动电子邮件。如果没有作为附件的报告,我如何告诉它不向收件人发送自动电子邮件?提前致谢。我整个上午都在努力寻找答案!

Hi. I have an Access DB that is for contracts. I have used the code found on Tony''s site for emailing a report per person containing only their information using GroupWise. It works great but I have a problem. Right now, the code before the GroupWise code, generates reports based on time criteria. If the query has no records for a person then a report isn''t created. Trouble is, the code for GroupWise email sends the auto email message even though there isn''t an attachment. How can I tell it to not send the auto email message to a recipient if there isn''t a report as an attachment? Thanks in advance. I''ve been trying to find an answer all morning!

推荐答案

老实说,没有代码可以参考它会很难知道需要改变哪个位。大多数事情都可以在Access中以各种方式完成(可以是一种祝福,但也可以是一项苦差事)所以真的没有办法猜测。

尝试发布代码的相关部分(或者全部如果它不是太大了。)
To be honest, without having the code to reference it''s going to be quite hard to know which bit(s) of it needs to be changed. Most things can be done in various ways in Access (Can be a blessing but can also be a chore) so there''s really no way to guess.
Try posting the relevant section of the code (or all of it if it''s not too voluminous).



嗨。我有一个用于合同的Access DB。我已经使用Tony网站上的代码通过电子邮件发送每个人的报告,其中只包含使用GroupWise的信息。它工作得很好,但我有一个问题。现在,GroupWise代码之前的代码会根据时间条件生成报告。如果查询没有人的记录,则不会创建报告。麻烦的是,即使没有附件,GroupWise电子邮件的代码也会发送自动电子邮件。如果没有作为附件的报告,我如何告诉它不向收件人发送自动电子邮件?提前致谢。我整个上午都在努力寻找答案!
Hi. I have an Access DB that is for contracts. I have used the code found on Tony''s site for emailing a report per person containing only their information using GroupWise. It works great but I have a problem. Right now, the code before the GroupWise code, generates reports based on time criteria. If the query has no records for a person then a report isn''t created. Trouble is, the code for GroupWise email sends the auto email message even though there isn''t an attachment. How can I tell it to not send the auto email message to a recipient if there isn''t a report as an attachment? Thanks in advance. I''ve been trying to find an answer all morning!



发布运行报告的代码段并调用groupwise函数。如果报告没有记录,则决定忽略后一行代码。一旦我们看到代码,它就会更好地了解如何完成。


Mary

Post the piece of code that runs the report and calls the groupwise function. It''s a matter of deciding to ignore the latter line of code if the report has no records. Once we see the code it will give a better idea of how that can be done.

Mary


这是一个人的代码。在此代码运行之前,如果有数据,数据库会为每个人创建一个报告。期待您的帮助!我只是想不通!

Here is the code for one person. Before this code runs, the DB creates a report, per person, if there is data. Looking forward to your help! I just can''t figure it out!

展开 | 选择 | Wrap | 行号


这篇关于使用GroupWise发送电子邮件报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆