Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change not TABLEUPDATEd if still in control
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00096991
Message ID:
00097097
Views:
18
>This isn't the problem. The problem is if I change the data in the textbox and I don't TAB or Enter and choose the save button on the toolbar the change is not saved.
Colin,

Inthe beginning of the code in the Save button put this ;
 IF PEMSTATUS("_SCREEN.Activeform.ActiveControl.SetFocus",5)
    _SCREEN.ActiveForm.ActiveControl.SetFocus()
 ENDIF
That will force the current control to loose and then regain focus thereby updating its controlsource.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform