Hi:
I have a combobox (combo0) and a listbox (list2) on a form. I want the listbox to pull up records in a table based on the combobox selection or what the user types in. But I would like to set it up so all records similar to the Combo0 selection or what the user types is displayed in the list2. Also, if the user choses to enter the text into Combo0 instead of selecting it, I would like to have the list box dynamically requery after each typed character. I tried using the "like" operator in the select statement of the list2 rowsource property and a Me.List2.requery command in the On Change event of Combo0, but I can't get it to work. Any help would be greatly appreciated.
I have a combobox (combo0) and a listbox (list2) on a form. I want the listbox to pull up records in a table based on the combobox selection or what the user types in. But I would like to set it up so all records similar to the Combo0 selection or what the user types is displayed in the list2. Also, if the user choses to enter the text into Combo0 instead of selecting it, I would like to have the list box dynamically requery after each typed character. I tried using the "like" operator in the select statement of the list2 rowsource property and a Me.List2.requery command in the On Change event of Combo0, but I can't get it to work. Any help would be greatly appreciated.