Can someone briefly describe the logic I would use so that a single text box can take several keywords separated by AND to query a recordset? Below is the code I am using for a single keyword.
Thanks!
Code:
rsHeader.Open ("SELECT DISTINCT InvoiceNo, PartNo" _
& "WHERE CompanyName LIKE '%" & varSearchText & "%' OR " _
& "AcctNo LIKE '%" & varSearchText & "%' OR " _
& "PartNo LIKE '%" & varSearchText & "%' OR " _
& "CustomerPO LIKE '%" & varSearchText & "%'") , Conn1