Consultor Eletrônico



Kbase P76651: ERROR-STATUS:ERROR is setable attribute
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   22/02/2007
Status: Verified

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.0A

SYMPTOM(s):

ERROR-STATUS:ERROR is setable attribute

Assigning a value to ERROR-STATUS:ERROR works.

Documentation lists attribute as readable only.

CAUSE:

Bug# 20040415-004

CAUSE:

Documentation is incorrect.

FIX:

The ERROR-STATUS:ERROR attribute is intended to be setable to allow setting it to FALSE programmatically in cases where errors should be ignored entirely.

Note that setting it to TRUE does not actually raise the error condition.
To do so, use RETURN ERROR or APPLY 'ERROR' as appropriate.

OpenEdge 10.1B and later releases have corrected documentation