Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing bound control value and buffer
Message
From
17/04/2011 13:09:46
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01507653
Message ID:
01507660
Views:
39
>>
>>(1) easy to test - hit TAB after you have changed the contents of the textbox, then call getfldstate()
>>
>>(2) A refresh() will revert any changes you have done to the textbox - before TableUpdate() this is
>
>Yes, TAB away from the control makes getfldstate() be correctly updated.
>
>So, refresh() is not the way to go.
>
>I am not revising the entire approach of using the change in the cursor buffer. There has to be another way to do what I am trying to do.


maybe you can use a combination of both

getflfState() or (eval(thisform.ActiveControl.RecordSource) < > thisform.ActiveControl.Value)


But in any case, you have to move off the ActiveControl before you do TableUpdate()
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform