hi guys,
I have a form, form has a subform, the subform has a control..
if i use the structure:
a=Forms(strFormName).Controls(strControlName).value with the form and the control on it, where strFormName and strControlName - strings describing the form's and control's name - it works fine...BUT...
What if i want to get to subform and subform's control? What structure should i use?
a=Forms(strFormName).Controls(strControlName).value - this won't work,
because the subform's name is actual Control's Name.
But i need to get to that control on that subform...
Any hints will be appreciated..
I have a form, form has a subform, the subform has a control..
if i use the structure:
a=Forms(strFormName).Controls(strControlName).value with the form and the control on it, where strFormName and strControlName - strings describing the form's and control's name - it works fine...BUT...
What if i want to get to subform and subform's control? What structure should i use?
a=Forms(strFormName).Controls(strControlName).value - this won't work,
because the subform's name is actual Control's Name.
But i need to get to that control on that subform...
Any hints will be appreciated..