To add to Dan's post, the VALID() fires just before the LOSTFOCUS(). So, if the VALID returns 0 or .F. the lostfocus() won't.
Also, you cannot call SetFocus() from with a Valid(), but you can from the lostfocus().
>What is the functional difference between the Validate and LostFocus Events in the Forms?
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