>Hi,
>
>Is there anyway can keep the cursor at one object? i have tried to set the object focus with setfocus method in valid method, but its not work with error. Is there any suggestion for me?
>
>Thank you very much
>Aston
Aston, move your Setfocus() code from Valid() to LostFocus() and it will work.
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison