I have a form [formA] with a tab control [tab14] with a child [child83] with a subform [subformB] with a button [cmdDoit]. I want to click the button when I enter formA. I can't seem to get the correct reference.
I've tried
'Forms![formA].[Form]![subformB].[Form]![cmdDoit]
Me.[child83].[form]![subformB].[Form]![cmdDoit]
but it keeps treating subformB as a field.
I've tried
'Forms![formA].[Form]![subformB].[Form]![cmdDoit]
Me.[child83].[form]![subformB].[Form]![cmdDoit]
but it keeps treating subformB as a field.
Comment