Hi Pedro,
Before save record try:
IF TYPE("Thisform.ActiveControl")="O" AND !ISNULL(Thisform.ActiveControl)
Thisform.ActiveControl.SetFocus()
ENDIF
MartinJ
>Hi
>
>I have one grid and one command button to save .
>
>when user is in grid , and change one field , for example old value is 5 , new value is 10 ; if user make enter ou tab , and after click in command button to save , everything works good .
>
>But if user don´t make enter or tab , and click in command button to save ,
>VFP save in other tables the old value 5 , and not the new value 10 .
>
>
>Help me , please
>
>Thanks