Hey All,
Any idea what's wrong?
Half asleep i know i've missed something.
VB Code:
strSQL = "Select * FROM tbl_Part WHERE [Model] LIKE '%" & Replace(varSearch, "'", "''") & "%' " _ & "OR PartNumber LIKE '%" & Replace(varSearch, "'", "''") & "%' " _ & "OR Description LIKE '%" & Replace(varSearch, "'", "''") & "%' " _ & "AND Country ='Australia';"
This returns all records regardless of the Country??


Reply With Quote

