>Hi Gilles,
>
>Your solution with the setfocus is smart one.
>When you issue the setfocus method, VFP thinks that to set the focus to another control you have to loose the focus from the current control. So it runs the valid event of the control (that replaces the field in the table) and then set the focus back to the same control.
Thanks for the compliment but I have to tell the truth I've found this trick on a message from Jim Booth...
Anyway That's what is great in this Universal Thread : we exchange ideas, help other people and try to be together to develop better products and I've never found (for the moment) such quality in other places like in this Foxpro community... I hope Microsoft & Bill Gates will hear that !!!!
Gilles