Hello all!
I am creating a macro which will open and email a report to a group of co-workers. The control source for the report is a query that has a parameter as the criteria.
In the macro, I have several different values that are used as the parameters to populate the query which then feeds into the report.
There will be times when the database will not have any data that matches the parameter criteria. When this happens, a blank report is sent. My goal is to find a way to only send reports with data and avoid sending blank reports.
So is there some way I can tell Access to only send the email if the value is not null?
Thanks for the help!