简体   繁体   English

如何仅通过电子邮件发送带有数据的报表,而不是空的报表-Report Builder 3.0

[英]How to only email report with data, not when empty - Report Builder 3.0

I am not the designer for these reports, so please bear with me for this question. 我不是这些报告的设计者,所以请允许我回答这个问题。 Our DBA has set up an automated email with an Excel attachment for the results based on a SQL query that I wrote. 我们的DBA根据我编写的SQL查询为结果设置了一封自动电子邮件,并带有Excel附件。 The email is sent everyday, regardless of whether or not it has data in it. 不管是否有数据,每天都会发送电子邮件。 I would like the report only to be email if there is data in the report. 如果报告中有数据,我希望报告仅是电子邮件。 Is there a setting for this criteria in Report Builder 3.0? Report Builder 3.0中是否有针对此条件的设置?

Thanks in advance! 提前致谢!

you can check the size of the excel doc and filter it on the email server and delete it automatically from the emails. 您可以检查excel文档的大小并在电子邮件服务器上对其进行过滤,然后从电子邮件中自动将其删除。 I mean, the real report's size should be totally different. 我的意思是,真实报告的大小应该完全不同。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM