I'd like to be able to set @ERROR and @SERROR in UDFs to indicate error conditions.

------------------
Richard Howarth