Stop executing code in an event handler

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
billcross
Posts: 30
Joined: Thu Apr 07, 2016 3:01 am

Stop executing code in an event handler

Post by billcross »

Is there a way to stop executing the code in an event handler before it is completed ? In a subroutine you can simply do a return but there is nothing for an event handler to return to.
User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: Stop executing code in an event handler

Post by Stewart Marshall »

You can use RETURN in any routine. When used in an EVTROUTINE processing stops and control is returned to the UI.

Regards
Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au
Post Reply