Hi Darell,
You still got that * and = character after the name in the select statement.
Use a % character for the wildcard search.
So the next line will work.
'da.SelectCommand = New OleDbCommand("Select * from Customers Where Name Like '%" & Me.txtSearch.Text & "%'", ocon)




Reply With Quote