Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid and command button to save
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00725200
Message ID:
00725206
Views:
10
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
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Reply
Map
View

Click here to load this message in the networking platform