G
Guest
My form has a combobox (cmbLE) and a listbox (lstREffDate). The listbox is
populated with a single item via a query based on the combobox selection. I
need to pass the resulting listbox item to other queries. So I select the
item using VBA (see below). On the form, the item is highlighted by the VBA.
However, the item will not pass to other queries unless I actually click on
the item. Any thoughts on what I might be doing wrong??? Thanks in
advance!!!
Private Sub cmbLE_Change()
Me!lstREffDate.Requery
Me!lstREffDate.Selected(0) = True
populated with a single item via a query based on the combobox selection. I
need to pass the resulting listbox item to other queries. So I select the
item using VBA (see below). On the form, the item is highlighted by the VBA.
However, the item will not pass to other queries unless I actually click on
the item. Any thoughts on what I might be doing wrong??? Thanks in
advance!!!
Private Sub cmbLE_Change()
Me!lstREffDate.Requery
Me!lstREffDate.Selected(0) = True