Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
For the experts: control value vs field value.
Message
 
 
To
05/06/1998 13:21:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00105233
Message ID:
00105324
Views:
38
You can use either, and it kind of depends on the circumstances which you want to use. Be warned that until the valid event fires the .Value is not written to the controlsource. So if the user hasn't left the field yet .Value != eval(.ControlSource)

>Which one is the better way to go in operating in code in a form?:
>with the 'thisform.textbox1.value' or with the 'alias.myfield'?
>asuming the textbox1 is bounded to the alias.myfield.
df (was a 10 time MVP)

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

Click here to load this message in the networking platform