Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
For the experts: control value vs field value.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00105233
Message ID:
00105312
Vues:
38
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform