I have a listbox which show customer Names on the 1st column and PO numbers on the 2nd column.
When user select the customer and press the OK button, it will access to the PO form.
Problem here is the list will grow longer and longer and I need to scroll up and down to look for the correct PO.
I would like to create a textbox below the listbox form, so when user type the customer name say 3 characters, it will filter only the customer started with 3 characters ,when user type the PO number say 3 char,it will filter all Po started with this number, so the list will be shorter and easy for user to see and select the PO.
I have tried using Filter on, realize that Listbox doesn't allow me to filter like below statement.
Me.Filter = "[customer] Like '*" & Me.txtCust & "*'"
Me.FilterOn = True
Do you have any better idea on how I should I do it, I don;t want to use the query expression that popup and display in a datasheet view, and user can change the data easily.
I am sure, the expert out there can enlighten me.