Incorrect use of NO-ERROR
- Last Updated: January 26, 2018
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
The following example shows incorrect usage of the NO-ERROR phrase. Since the information in the ERROR-STATUS handle is reset each time it is used, whether an error occurs
or not, using it on successive statements, and only checking it at the end of the
sequence, may cause the application to lose information and behave incorrectly. To trap
any error that occurs in a set of statements, use a CATCH block. See CATCH Blocks for
more information.
|