D
DoDev
Hi,
From within subform's code I would like to access the tag property of the
parent's form control which contains the subfrom.
I know how to do it when the subform code knows the exact name of the
control which contains the subform:
Tag = Me.Parent!subformContainerControlName.Tag
However, in my case the same subform can be included in many different
subformContainer controls. So I woulld like to have a generic code in which
I refer to the subformContainer control wihtout using its specific name.
Similarly to how I can refer to a parent form (e.g. me.Parent) without using
the name of the parent form.
Thanks for your help.
DoDev
From within subform's code I would like to access the tag property of the
parent's form control which contains the subfrom.
I know how to do it when the subform code knows the exact name of the
control which contains the subform:
Tag = Me.Parent!subformContainerControlName.Tag
However, in my case the same subform can be included in many different
subformContainer controls. So I woulld like to have a generic code in which
I refer to the subformContainer control wihtout using its specific name.
Similarly to how I can refer to a parent form (e.g. me.Parent) without using
the name of the parent form.
Thanks for your help.
DoDev