newprogamer
Programmer
I am getting the data from an access database. How do I write a select statement that will return any values (like) that starts with the same letters the user enters into a combo box. This is the code I am using. But, it only returns the exact match. Please help!
If cboModel.Value <> "" Then strSelect = "SELECT Quote, Manufacturer, Type, Model, WordQuote FROM tblFileName WHERE Model LIKE '" & cboModel.Value & "'"
Thanks,
new programmer
If cboModel.Value <> "" Then strSelect = "SELECT Quote, Manufacturer, Type, Model, WordQuote FROM tblFileName WHERE Model LIKE '" & cboModel.Value & "'"
Thanks,
new programmer