Can I suppress a trigger error in Reports?
Posted on 2004-10-06
I have a report that generates a blank page if no data is found. What I'm trying to do is display a custom error message if no data is found and return the user to the parameter form.
Most of the work is performed in the After Parameter Form trigger, so I need to check in there.
I did put something in there to return FALSE if no data is found, but that displays the Reports generated error : "REP-0771 : After Form trigger failed."
I'd like to suppress this message and just display my own, e.g. "No data found, returning to parameter form" or something like that.
Any ideas? Or any other way of stopping the blank page appearing if no data is found, without putting all the SQL in the process that launches the report?