>I just tried the code in the "When event"
>VFP returned the same results
What exactly are you trying to achieve - The focus not leaving a control until a value has been entered (use the Valid event). Focus not moving to a control if the previous control was empty (use the When event but return .T. or .F. depending if the control can receive the focus).
HTH
Caroline