Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TABLEUPDATE(.T.) bombs with uncommitted changes
Message
 
 
To
04/10/2003 05:59:44
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00833421
Message ID:
00835119
Views:
30
Peter,

>This is interresting, although I'm not sure I fully understand how to implement it.
>In the meantime I took your advice and moved all my buttons to a container class, dropped it on the my basic _form class, and hey presto - it works.

It works, because the buttons in a container on the form actually get focus, which pulls focus away from your last editted control, which causes the edits to be committed to the underlying ControlSource.

>Sometimes the pragmatic solution is the best one.
>
>Do you have any idea why my ActiveForm and ActiveControl properties evaluate to an 'Expression can not be evaluated' value?

There can potentially be a lot of things in your environment that cause you to not have an active form at any given instant.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform