Aaaaaaaaaaagh!!
Thanks for the information. Fortunately, I've never needed to put SetFocus() in a When or Valid, so I just assumed, dangerous occupation that, that it would work.
>You will need to find every occurence of CUROBJ and replace it with the correct call to SetFocus().
>
>Hi Mark.
>
>This solution won't work anyway. VFP5,0 will not let you call SetFocus() from the When or the Valid.
>
>Marcia
Regards,
MarkA