>Hi,
>
>I need to know, from within a control valid, if the user has just clicked a particular command button. Is there a function that tells this ?
>
>TIA,
>
>Alex
Alex,
How about adding a "ButtonWasHit" property to the form and set it to .t. in the click event of the button and set it back to .f. after checking for it in your valid. Of course the default setting would be .f..
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn