Good afternoon I have been struggling a little with the list box being populated from combo selections. The below works well allowing me to select from a list of 50ish items then they subsequently add to the list box
The lookup list is is in one table called medication,
the lbdrugs list box is populated through a combo box that takes its data from the medication table.. My problem is linking the list box lbdrugs to a table where the selected records are held. Essentaiily a patient record
I think its because im selecting record source which of course chanes where it looks
Private Sub cgdrugadd_AfterUpdate()
Me.lbdrugs.AddItem (Me.cgdrugadd.Column(1))
Me.lbdruginfo.AddItem (Me.cgdrugadd.Column(2))
End Sub
The lookup list is is in one table called medication,
the lbdrugs list box is populated through a combo box that takes its data from the medication table.. My problem is linking the list box lbdrugs to a table where the selected records are held. Essentaiily a patient record
I think its because im selecting record source which of course chanes where it looks
Private Sub cgdrugadd_AfterUpdate()
Me.lbdrugs.AddItem (Me.cgdrugadd.Column(1))
Me.lbdruginfo.AddItem (Me.cgdrugadd.Column(2))
End Sub