D
dee
I have an unbound form called AllM
It contains a tab control, each of which contains an independent open form.
Tab1 form = FmMailed
Tab2 form = FmVerify
Tab3 form = FmpOnly
I'm trying to switch focus from one form to another on certain events, but can't get anything to work.
I have tried to switch from the Tab1 form "FmMailed" to the Tab2 form "FmVerify" using various code:
Forms![FmVery].LastName.SetFocus
Forms![AllM]![FmVery].LastName.SetFocus
and many other variation. All give errors.
I'd be forever grateful if someone could correct my code.
It contains a tab control, each of which contains an independent open form.
Tab1 form = FmMailed
Tab2 form = FmVerify
Tab3 form = FmpOnly
I'm trying to switch focus from one form to another on certain events, but can't get anything to work.
I have tried to switch from the Tab1 form "FmMailed" to the Tab2 form "FmVerify" using various code:
Forms![FmVery].LastName.SetFocus
Forms![AllM]![FmVery].LastName.SetFocus
and many other variation. All give errors.
I'd be forever grateful if someone could correct my code.