A
Alastair MacFarlane
Dear All,
Can you programatically select an item in a ListBox based
on the value entered in a text box from the after_update
event? I have tried the following code which does not work:
forms!Form1!MyListBox.SelectedItem = me!Text1.text, or
forms!Form1!MyListBox.value.column(1) = me!Text1.text
The bound column of the ListBox is Column(0). I want the
TextBox to be used to select the Column(1) value.
Thanks for all help...
Alastair MacFarlane
Can you programatically select an item in a ListBox based
on the value entered in a text box from the after_update
event? I have tried the following code which does not work:
forms!Form1!MyListBox.SelectedItem = me!Text1.text, or
forms!Form1!MyListBox.value.column(1) = me!Text1.text
The bound column of the ListBox is Column(0). I want the
TextBox to be used to select the Column(1) value.
Thanks for all help...
Alastair MacFarlane