I'm finally getting around to putting error handling on an application I've created.
So far this is what I've got....
PROC_ERR:
MsgBox "An unknown error occured in the procedure." & Chr(13) & _
"Please note down the following information before contacting support" & _
Chr(13) & Chr(13) & "Procedure: tran_MR_numbers" & vbCrLf & vbCrLf _
"Error Line: " & Erl & vbCrLf & vbCrLf & "Error: (" & Err.Number & ") " _
& Err.Description, vbExclamation
This works ok, but I would like to output this result to an error log. How can I accomplish this?
Cheers,
Wayne
Bookmarks