General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only