Situation:
An error handler that looks at the number of errors returned by the AERROR() function. (if > 0 continue; else return)
This handler is explicitly called, and is not in the 'ON ERROR'-handler.
Problem:
I want to be 'dirty' and ignoring any errors that might occur (I don't want any error messages), so I use the following code:
cOldErr = ON( 'ERROR' )
ON ERROR *
GO nRecno IN (cAlias)
ON ERROR &cOldErr
After this, the error-function is called, and it fires with the message: 'Record is out of range'.
The AERROR() returns this error.
This message is a result from the GO nRecno ... command.
How can I clear/not use/overwrite ('not use' preferably, because before the specific code an error occurs which I want to see in my message) the error array?