Tough Problem With Two Subforms
I have a form with a combo box and a subform; the combo box updates the recordsource of the subform with the AfterUpdate() event; no problems; I am trying to convert this into a form with two subforms, one subform replacing the functionality of the combo box- by moving through the records of this subform, the other subform's recordsource gets updated;
with all my attempts, using OnCurrent, OnFocus, other events, i either get no updates, or Access goes into an infinite loop; i have had success using a subform to control a subform if the target subform is only filtered by one field; but in this scenario i am using complex SQL and need to update the RecordSource directly;
Has anybody figured out how to do this? What do ido?
Thank you!
--llyal
I have a form with a combo box and a subform; the combo box updates the recordsource of the subform with the AfterUpdate() event; no problems; I am trying to convert this into a form with two subforms, one subform replacing the functionality of the combo box- by moving through the records of this subform, the other subform's recordsource gets updated;
with all my attempts, using OnCurrent, OnFocus, other events, i either get no updates, or Access goes into an infinite loop; i have had success using a subform to control a subform if the target subform is only filtered by one field; but in this scenario i am using complex SQL and need to update the RecordSource directly;
Has anybody figured out how to do this? What do ido?
Thank you!
--llyal