Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement