Progress
Programming
Handbook


RETURN ERROR

If you use the NO–ERROR qualifier on a statement that executes a trigger, and the trigger returns an error (with RETURN ERROR), the ERROR–STATUS system handle is set to TRUE. You can check the value of this system handle after the statement executes:

DELETE customer NO-ERROR. 
IF ERROR-STATUS:ERROR THEN DO: 
/* Add logic to perform when an error occurs */ 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095