Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
For the experts: control value vs field value.
Message
From
05/06/1998 15:08:09
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00105233
Message ID:
00105312
Views:
39
But if you change the controlsource, you have to change all your code instead of just the control.

>It depends what you are trying to do. For example, if you are writing field validation on some sort business object, you should only refer to your data, never to your controls.
>
>In general, even when I am writing code in databound controls I tend to refer to the controlsource the control is bound to. It's easier to refer to mytable.myfield than it is to this.parent.parent.txtControl.Value.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform