B
bart6285
Hi everybody,
I've got a simply question in vba developpement.
I don't remember how can i reference a collection variable forms to a
form that contain a subform. I need to do this to navigate all the
objects that contains in the subforms.
By example i've got,
frm as forms
ctl as control
i try this in my function, strFormName and strSubFormName are string
variable parameter of my function
set frm = Forms(strFormName).strSubFormName.Form.Name
For each ctl in frm.controls
next
Can anyone help me with this,
Thanks very much to you!
I've got a simply question in vba developpement.
I don't remember how can i reference a collection variable forms to a
form that contain a subform. I need to do this to navigate all the
objects that contains in the subforms.
By example i've got,
frm as forms
ctl as control
i try this in my function, strFormName and strSubFormName are string
variable parameter of my function
set frm = Forms(strFormName).strSubFormName.Form.Name
For each ctl in frm.controls
next
Can anyone help me with this,
Thanks very much to you!