C
Cecil Westerhof
I would like to use an error function. The first part would be:
Sub EmitError(FunctionCode, Error, ExtraInfo) on error resume next ErrorStr
= Error.Description & "<br/>" & _
Error.Source & "<br/>" & _
Error.number & "<br/>" & _
ExtraInfo
And I would like to call it with:
EmitError "S000101", Err, ""
But when the function is called Error is resetted. Is there a way I could
get this working? It should be called from a lot of places and I would not
like to make in al these places the string instead of in the function.
Sub EmitError(FunctionCode, Error, ExtraInfo) on error resume next ErrorStr
= Error.Description & "<br/>" & _
Error.Source & "<br/>" & _
Error.number & "<br/>" & _
ExtraInfo
And I would like to call it with:
EmitError "S000101", Err, ""
But when the function is called Error is resetted. Is there a way I could
get this working? It should be called from a lot of places and I would not
like to make in al these places the string instead of in the function.