I can email using sendobject. I email a excel file but I don't want to email it if it is empty. I either want to not email it at all or email a "no data" message in the email subject line if it is empty. How can I do this?
I am acutally sending a query as an excel file.I guess I should be checking for the query being empty and then deciding what email to send (file or message). I am not sure how to check the query for being empty before sending email.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.