C
Chaplain Doug
I have the practice of naming my controls the same as the
field that is the data source of the control. I have three
questions:
1. Is there anything inherently wrong with naming the
control the same as the source field?
2. How do I reference the control vs the field in the
code behind the form? Say I have a control named SAP with
source field SAP. Is the control reference SAP and the
field reference [SAP] or vice versa?
3. Which should I work with in the code, the control name
or the field name. For instance if assigning a value
which should I use?
Thanks for the help.
field that is the data source of the control. I have three
questions:
1. Is there anything inherently wrong with naming the
control the same as the source field?
2. How do I reference the control vs the field in the
code behind the form? Say I have a control named SAP with
source field SAP. Is the control reference SAP and the
field reference [SAP] or vice versa?
3. Which should I work with in the code, the control name
or the field name. For instance if assigning a value
which should I use?
Thanks for the help.