I have a main form with a subform that contains three more subforms.
(MainForm (SubForm (SubSubForm1, SubSubForm2, SubSubForm3)))
And of course each form and subform has many controls. I have control of the navigation until I want to leave SubSubForm1 and give focus to a control on SubSubForm2. I have searched through just about all the posts and thought I had the fix a few times, but I keep getting an error because the syntax I am using is wrong.
Names of my forms are as follows:
MainForm = fmTrip
SubForm = frmPatient
SubSubForm1 = sbfrmComplaint
SubSubForm2 = sbfrmSpecialCoding
SubSubForm3 = sbfrmProtocol
I want to give the combobox "cbxSpecialCoding" on subform "sbfrmSpecialCoding" focus, after leaving the control "cbxChiefComplaint" on the subform "sbfrmComplaint"
I hope that I explained what I need to do and that this makes sense.
Thanks in advance for any help,
Cheers!
(MainForm (SubForm (SubSubForm1, SubSubForm2, SubSubForm3)))
And of course each form and subform has many controls. I have control of the navigation until I want to leave SubSubForm1 and give focus to a control on SubSubForm2. I have searched through just about all the posts and thought I had the fix a few times, but I keep getting an error because the syntax I am using is wrong.
Names of my forms are as follows:
MainForm = fmTrip
SubForm = frmPatient
SubSubForm1 = sbfrmComplaint
SubSubForm2 = sbfrmSpecialCoding
SubSubForm3 = sbfrmProtocol
I want to give the combobox "cbxSpecialCoding" on subform "sbfrmSpecialCoding" focus, after leaving the control "cbxChiefComplaint" on the subform "sbfrmComplaint"
I hope that I explained what I need to do and that this makes sense.
Thanks in advance for any help,
Cheers!