Perhaps you also need to Uppercase the Column(s) data as well eg.
Code:strSQL = "SELECT * FROM Leads WHERE " & _ "UPPER( [Company Name]) LIKE '%" & UCase(Text1.Text) & "%' OR " & _ "UPPER( [Contact Name]) LIKE '%" & UCase(Text1.Text) & "%' OR " & _ "UPPER( [Phone Number]) LIKE '%" & UCase(Text1.Text) & "%' OR " & _ "UPPER( [Contact Number2]) LIKE '%" & UCase(Text1.Text) & "%' OR " & _ " [Mobile] LIKE '%" & Text1.Text & "%'"




Reply With Quote