I am scheduling some reports by using data driven subscription in SSRS 2008 R2.
Regardless of whether the generated report is empty or not, reports are still sent to recipients. This has been a common problem for long time, and honestly, the suggestions I have seen on the forums did not quite work out.
One of the suggestions, I tried, was that I have created a hidden parameter and set it to a field on the main dataset in default values tab. It throws error if the report is empty and report is generated if there is some data to show in report designer. However, when I schedule this report, it asks me to provide default value and I cannot finish scheduler wizard without providing it. If I provide any default value, the empty reports are still sent. But unlike this, an error is supposed to be thrown for empty reports and they should not be sent.
has anyone used this method before? if so, could you tell me what I am missing here please?
I was just wondering whether you guys have an ideal solution for this issue.
Many thanks for your help.
Regards