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

  • Thread starter Thread starter Fernando Souza
  • Start date Start date
Status
Not open for further replies.
F

Fernando Souza

Guest
Yes, you will need to return error or use structure error handling in the trigger code. But then in the code that you update the record, note that the record is not written out until the end of its scope, or when when you do something to force validation or release of the record, such as VALIDATE/RELEASE. So in your example, the record will get out of scope at the end of the procedure, outside the DO ON block you have coded.

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