Hi, I want to check and see if my report has any data, and if not, throw an error message
I have a report where the report design and data is based on a parameter that the user selects.
So I don't know what the dataset will be until the user selects a parameter.
I want to stop the report from running by throwing up a 'no data' error.
I tried doing this in the preRunModifyContract() (where the report design is selected) and it worked. But I also get a major system error
saying that something went wrong running the report which is a little extreme.
What's the best place to do this.