Integrated Application Platform › Forums › General › Using Repeat Control for Data Entry › Reply To: Using Repeat Control for Data Entry
I’m not sure what the errors are from. I’m traveling again (and so is Jeff), but I’ll see if I can get someone to look into it.
“name:”, which becomes .Name after construction, is used for several things. For example, when you refer to a control by e.g. .Horz.Field the “Horz” and “Field” are the names of the respective controls. A lot of controls have default names (look for Name: on the class) but the default name can be overridden by specifying name: on the control specification e.g. (Horz … name: myhorz)
When you specify just a field name, so the control comes from the Field_ definition, then the name is automatically set to the field name.
RecordControl also uses the names as the field names in the record that it manages. This works with any control that is “data aware” i.e. Send ‘Data’, ‘NewValue’, and ‘NoData’. Most of the standard controls e.g. Field and CheckBox are like this.
I hope that helps explain it a little.