General information
Category:
Coding, syntax & commands
>My code in the load method looks something like:
>
>on error do err_rtn
>use xxx
>on error
>if err_flg &set in err_rtn
> release thisform
> return
>endif
>
J. Luis came up with the solution to the problem I've been struggle with all day. The correct routine should be:
on error do err_rtn
use xxx
on error
if err_flg
RETURN .F.
endif
I didn't know that returning a '.F.' in an event stops the form. Marc, Dave, Arnon all helped with my understanding of the problem. Big thanks to all.
Paul
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only