Hi Experts,
I need to throw error "There is no data to be output " while generating SSRS report if there is 0 data extraction instead of blank report generation.
As of now I have passed a boolean variable as true under loop condition if there is data extracted and else the boolean will be false. After loop I have put if condition where error is thrown when boolean value is false
But in this case error is thrown but blank report is also printing. But I don't want to generate the blank report only info log should come.
Note: Report is called through controller class.
Please guide me to achieve this functionality.