D
DavidG
Hi,
I have a common subform used on 2 different forms.
I thought that using one subform would reduce code maintenance,
but now I'm not so sure
Code on subform controls refers to controls on the MAIN form,
differently depending on the main form in use.
What is the best way to refer to the MAIN form from a subform control ?
I can't seem to get Me.Parent.Name to work as I want.
Or is this like "the road to Dublin"
and I shouldn't have started from here at all...
TIA
DavidG
I have a common subform used on 2 different forms.
I thought that using one subform would reduce code maintenance,
but now I'm not so sure

Code on subform controls refers to controls on the MAIN form,
differently depending on the main form in use.
What is the best way to refer to the MAIN form from a subform control ?
I can't seem to get Me.Parent.Name to work as I want.
Or is this like "the road to Dublin"
and I shouldn't have started from here at all...
TIA
DavidG