Hi Everybody,
My main form has a subform, which I created using the Autoform Tabular option. The main form and the subform are underlined by two tables havind one (Main form) to many (subform) relationship. The subform has two text fields, one of which is bound to a table field, the other is unbound. I've also added a button to the form so now it has totally three controls (lined up horizontally - the usual arrangement of Autoform Tabular option). Clicking the button should do some calculation and put the result into the unbound text box.
The subform can have multiple rows of these three controls. Now the question: how can I refer to the button (or to the unbound field) in a certain row, when doing the VBA coding?
Thanks in advance,
Alex
My main form has a subform, which I created using the Autoform Tabular option. The main form and the subform are underlined by two tables havind one (Main form) to many (subform) relationship. The subform has two text fields, one of which is bound to a table field, the other is unbound. I've also added a button to the form so now it has totally three controls (lined up horizontally - the usual arrangement of Autoform Tabular option). Clicking the button should do some calculation and put the result into the unbound text box.
The subform can have multiple rows of these three controls. Now the question: how can I refer to the button (or to the unbound field) in a certain row, when doing the VBA coding?
Thanks in advance,
Alex