We have a combo box which currently pulls every record in our table, well over 70,000 records. This obviously isn't very good. I am trying to make the combobox results based upon the first letter they type in. Here is what I currently have:
for the OnChange event, I have this:
Me.Field40.RowSource = "SELECT [Part #], [Mfg Name], UM, Source, VendorID, ID FROM INVENTORYMASTERcombobox WHERE ([Part #] Like " & Me.Field40 & "*"");"
Field40 is what hte combobox is called. However, when I type something in, nothing populates in the drop down. What am I doing wrong?
for the OnChange event, I have this:
Me.Field40.RowSource = "SELECT [Part #], [Mfg Name], UM, Source, VendorID, ID FROM INVENTORYMASTERcombobox WHERE ([Part #] Like " & Me.Field40 & "*"");"
Field40 is what hte combobox is called. However, when I type something in, nothing populates in the drop down. What am I doing wrong?