Setting focus and linking to tabbed subforms
Hi,
I'm chasing my tail with an Access problem, and can't get my head around solutions I have found on the net. I dabbled in Access quite a bit, about 5 years ago, I've never touched the VBA side, macros or used the OnEvents.
I have a database set up to record answers to a large employee survey. I've set up a master form containing a tab control with 10 tabs each containing a separate subform all linked by an interview number.
My structure looks like :
FrmMaster - name of form containing all subforms
Tabctl1 - name of tab control
Tab1, Tab2, Tab3 - name of each tab within the tab control
FrmSection1, FrmSection2, FrmSection3 - name of each subform on appropriate tab
Comment1, Comment2, Comment3 - name of final control on each subform
The name of the first control on each subform is a question number : Q7, Q17, Q24, Q36 and does not follow any set pattern.
How would I go about moving from Tab1.FrmSection1.Comment1 to Tab2.FrmSection2.Q7
Any help (in newbie terms) would be most gratefully appriciated
Hi,
I'm chasing my tail with an Access problem, and can't get my head around solutions I have found on the net. I dabbled in Access quite a bit, about 5 years ago, I've never touched the VBA side, macros or used the OnEvents.
I have a database set up to record answers to a large employee survey. I've set up a master form containing a tab control with 10 tabs each containing a separate subform all linked by an interview number.
My structure looks like :
FrmMaster - name of form containing all subforms
Tabctl1 - name of tab control
Tab1, Tab2, Tab3 - name of each tab within the tab control
FrmSection1, FrmSection2, FrmSection3 - name of each subform on appropriate tab
Comment1, Comment2, Comment3 - name of final control on each subform
The name of the first control on each subform is a question number : Q7, Q17, Q24, Q36 and does not follow any set pattern.
How would I go about moving from Tab1.FrmSection1.Comment1 to Tab2.FrmSection2.Q7
Any help (in newbie terms) would be most gratefully appriciated
Last edited: