Hi everyone,
short notice than a question.
I have a Main Form (1) with:
- SubForm (2) and
- SubForm (3) that has its own subform (3a) that has also its own(3aa).
Such sophisticated structure was a need to retrieve at once data by end-users (phone-consultants)
So, does anybody have an idea how to refer to subform (3aa) from a level of (2)?
I thought of 'SetFocus' method but I could do it only between 3a & 3aa. I did it just like that:
Sub Button_Click()
me.3aa.SetFocus
RunCommand acCmdRecordsGotoNew
End Sub
In the next step I tried to refer via statement
Forms!1.2.Form!3.Form!3a.Form!3aa.Setfocus
but each of my trial made a bug
Reasuming:
How to refer to the subform from a higher level?
Thanks for any clues,
Bye,
Mahnatz
short notice than a question.
I have a Main Form (1) with:
- SubForm (2) and
- SubForm (3) that has its own subform (3a) that has also its own(3aa).
Such sophisticated structure was a need to retrieve at once data by end-users (phone-consultants)
So, does anybody have an idea how to refer to subform (3aa) from a level of (2)?
I thought of 'SetFocus' method but I could do it only between 3a & 3aa. I did it just like that:
Sub Button_Click()
me.3aa.SetFocus
RunCommand acCmdRecordsGotoNew
End Sub
In the next step I tried to refer via statement
Forms!1.2.Form!3.Form!3a.Form!3aa.Setfocus
but each of my trial made a bug
Reasuming:
How to refer to the subform from a higher level?
Thanks for any clues,
Bye,
Mahnatz