>Hi everybody,
>
>I made a test form and put a textbox and checkbox on it with this code in When event
>
>
>IF MESSAGEBOX('ok to click?',4,'test')=7
> RETURN .f.
> endif
>
>and with messagebox ('Click') in click event.
>
>Now, the click will never happen even if I answer Yes on the question.
That is because you didn't have CLICK :-)
You have only MouseDown event and the MessageBox receives the MouseUp event. So no Click happened.
That is why I really try to avoid MessageBxo in WHEN or VALID events.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.