Guest llagrevol Posted April 28, 2004 Posted April 28, 2004 Hi, Is there a possibility to : When there is an error in the script , not display an error message on the workstation but log it for example with _FileWriteLog and resume the script. Thanks L Lagrevol
trids Posted April 28, 2004 Posted April 28, 2004 Yep .. that's already available All you need ot do is check @error whenever it might get set, and call your UDF _FileWriteLog if @error is not zero.Of course, design-time errors won't get trapped this way. Example: syntax errors, or when you refer to a variable as an array when it isn't an array. Runtime errors are what your UDF ceverly logs by checking @error.HTH
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now