
Control name of subform from code behind subform
strCtlName=Parent.ActiveControl.Name
--
~~~~~~~~~~~~~
Make a Great Day
TomG
Quote:
> I have a main form (frmMain) on which there
> is a control (ctlSub) that is a subform (sfrmSubForm).
> Is there some way that I can determine, from the code
> behind the subform, the name of the control ("ctlSub")
> used on the main for.
> Many thanks,
> Roy