Hi gang!
I have a search function in my app that populates a listbox. Normally the list box is filled when the form is opened then the user clicks on one item and it displays info about that item in a subform.
Now I want the search function to essentially find that item and display the info in the subform. Right now, all I've been able to do is highlight the item to be clicked by using Me.Item.Selected(0) = True
I tried putting the code from the onClick event into the search routine, but that didn't work.
Thanks for any help.
I have a search function in my app that populates a listbox. Normally the list box is filled when the form is opened then the user clicks on one item and it displays info about that item in a subform.
Now I want the search function to essentially find that item and display the info in the subform. Right now, all I've been able to do is highlight the item to be clicked by using Me.Item.Selected(0) = True
I tried putting the code from the onClick event into the search routine, but that didn't work.
Thanks for any help.