I have a parent form bound to a recordsource and several controls are bound to fields in that recordsource. There are also several unbound controls that are used to display various data in a subform.
It's setup to display "Form A" in the subform control if a selection is made on "List A" (unbound) in the parent form. "Form A" has as its recordsource a Query object which uses the value of "List A" as criteria.
Similarly, if the user clicks a selection on "List B", the subform control's sourceobject changes to "Form B" in the same manner.
If I set the subform's sourceobject manually to "Form B", for example, it will display the data fine. But when the sourceobject is being programatically changed using VBA, then the queries won't retrieve the data.
If I clear out the PARENT form's recordsource, then it works as it's supposed to, but then all the other BOUND controls don't work.
Am I missing something? Any help is much appreciated. Thank you.