I've tried referencing the subform control in the mainform using 'Forms!<Main Form>!<Sub-Form Name>.Form!<Combo Box name>.Requery' with events:After Update, On Lost Focus, On Open, etc. No luck.
The main form does not pass any data to the 3 subform controls. It only collects information for a header table. The subform is used to collect records for a child table, which may have many records for each header record.
I even tried changing the code on the subform to use VBA instead of the macro:
Sub ComboBox1_AfterUpdate()
ComboBox2.requery
End sub
Sub ComboBox2_AfterUpdate()
ComboBox3.requery
End sub
Like the macro method, this worked fine in the subform alone, but from the main form, I got a "Run-time error '2450' " stating it can't find my subform. How do I reference the subform from the mainform? To which event should the requery be bound or do I need to DIM something in the main form?