I have a tabbed form. On each tab there is a subform. On Subform1 I have a series of combo boxes whose names are Combo1, Combo2, Combo3, etc. and button that if the user clicks will write the word "Yes" in all the combo boxes on the form. The line of code that works for the first combo box is:
Expand|Select|Wrap|Line Numbers
- Forms!frmMain.Subform1.Form.Combo1 = "Yes"
Expand|Select|Wrap|Line Numbers
- Forms!frmMain.Subform2Form.Combo1 = "Yes"
If the line of code works on Subform1, why does it throw this error on Subform2 and what can I do to achieve the functionality I desire on Subform2?