I have a situation where I need to navigate upwards from one of 4 tabbed subforms to accomplish certain tasks in the parent form. This I can do via setfocus from the current subform event procedure.
But when I attempt to use a setfocus method back to a specific control in the subform, nothing happens, my cursor simply remains where it is, no error message, nothing. Can someone give me a sense of what may be wrong?
I correctly set a subform date field like this:
Forms![frmFin18]!FetchSem1.Form!Sem1Date = Me.txtTargetDate
Then I attempt to set focus in an adjoining subform control like this:
Forms![frmFin18]!FetchSem1.Form!Sem1Paid.SetFocus
or this:
Forms!frmFin18!FetchSem1!Sem1Paid.SetFocus
Nothing happens, I remain in the main form control whose GetFocus event I have been processing.
But when I attempt to use a setfocus method back to a specific control in the subform, nothing happens, my cursor simply remains where it is, no error message, nothing. Can someone give me a sense of what may be wrong?
I correctly set a subform date field like this:
Forms![frmFin18]!FetchSem1.Form!Sem1Date = Me.txtTargetDate
Then I attempt to set focus in an adjoining subform control like this:
Forms![frmFin18]!FetchSem1.Form!Sem1Paid.SetFocus
or this:
Forms!frmFin18!FetchSem1!Sem1Paid.SetFocus
Nothing happens, I remain in the main form control whose GetFocus event I have been processing.