I am using vb.net 2010 express to query an Access database. I understand how to query 1 item at a time.
My users may need to add additional filters to the query.
How would I query where 2 or more items are found.
Here is the code I now use for individual querries.
My users may need to add additional filters to the query.
How would I query where 2 or more items are found.
Here is the code I now use for individual querries.
Code:
cmd = New OleDbCommand("select * from inventory where serial like '" & TextBox2.Text & "'", cn)
Code:
cmd = New OleDbCommand("select * from inventory where sku like '" & TextBox1.Text & "'", cn)