In the CommandButton, prior to Save, you should SELECT the correct work area where you want to save. If your file is named SomeFile, you should do:
Select SomeFile
HTH
Jaime
>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
Why do programs stop working correctly as soon as you leave the Fox?