fuzzyocelot
Programmer
I'm designing a report using Reporting Services 2000. The data source is based on a stored procedure. There are two data parameters - a start date and end date. If a normal start and end date is provided (such as 4/1/09 and 4/20/09) the proc returns a description and a record count for that period. It works fine in the report.
Here's the problem. If someone specifies a start date that is greater than the end date (such as 4/20/09 as the start date and 4/1/09 as the end date), the procedure returns "bad data". When I run the report, I get a "Invalid attempt to read when no data is present" error. Is there any way to not get that error and display something in the report indicating there is no data or that the date range is incorrect?
Thanks!