Can we add RAISE ERROR in the command text of the RDL file for an SSRS Report?
My report is creating a blank PDF file due to missing data in the DB. I want to check the data, and if no data is found I need to raise the error. Is that possible?
Or after render call, how can we check the content data for the file? Is there any way to do that?
We are using SSRS-2008-R2 version. and we are running thereports through a C#.net Application, so, i invoke the report through a Reporting Services's WebServices, and it return a byte array that represent the result of the reports, but the array byte always bring byte because, the reports has a header, hence occurs bytes.
i need to check the byte array to decide whether to generate the pdf or not.
How can i do that .?