[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: 11.7(win): Traditional error handling: ON ERROR and error in a (write) trigger

Status
Not open for further replies.
L

Lieven De Foor

Guest
When I try this I don't get the "All fine" message. My example: ON WRITE OF Customer OVERRIDE DO: RETURN ERROR. END. FIND FIRST Customer EXCLUSIVE-LOCK. DO ON ERROR UNDO, RETRY: IF RETRY THEN DO: MESSAGE "Something went wrong..." VIEW-AS ALERT-BOX. RETURN. END. ASSIGN Customer.Phone = "test". VALIDATE Customer. MESSAGE "All fine..." VIEW-AS ALERT-BOX. END.

Continue reading...
 
Status
Not open for further replies.
Top