laurin1 wrote:
This seems to work for some reports, and not for others. I have a report that I can run right now that returns 48 results, but if I click Mail selected reports now, the report is not sent.
One calculated field in the report syntax didn’t have an alias.
The e-mail wraps some extra sql code around the report to calculate the total records
commandText = "select count(*) as total from (" + originalquery + ") tmptable";
This is why the report did run, but was not sent using e-mail alerts.