Know about RETURN NO-APPLY

Hi Everybody,
I like to know something about "RETURN NO-APPLY" statement. What is the exact use of this statement and what it does.

Can someone explain this with an example??? Then it will be great!!


Can anyone help me out???:confused:
 
Suppresses the default behavior for the current user-interface event. For example, in the leave trigger of a fill-in if u say

If self:Screen-value = "" Then Do:
Message "Entry Needed".
Return No-apply.
End.

If the screen value is blank it will not leave the field (Normal behaviour - It should leave.) U can use this in triggers as well in procedures.

Regards
Philip P oommen
 
Of course, while this example illustrates what the construct does, it also illustrates something you should never do, i.e., trapping a user in a field.
 
Back
Top