BORIS_4 0 Newbie Poster 10 Years Ago t = txtSearchMo.Text z = Combo1.Text Adodc1.Recordset.Filter = "br_name like '" + t + "'" Or "mo like '" + z + "'" why this code have mismatch error appear?? help me pls visual-basic 0 0 Share Reverend Jim 5,216 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster 10 Years Ago Try using "&" instead of "+". Copy to ClipboardAdodc1.Recordset.Filter = "br_name LIKE '" & t & "'" _ " OR mo LIKE '" & z & "'" 0 0 Share BORIS_4 0 Newbie Poster 10 Years Ago not working sir.. arguments are wrong type, are out of acceptable range, or are in conflict with one another 0 0 Share Share Facebook Twitter LinkedIn Reply to this topic Be a part of the DaniWeb community We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge. Sign Up — It's Free!
Reverend Jim 5,216 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster 10 Years Ago Try using "&" instead of "+". Copy to ClipboardAdodc1.Recordset.Filter = "br_name LIKE '" & t & "'" _ " OR mo LIKE '" & z & "'" 0 0 Share
BORIS_4 0 Newbie Poster 10 Years Ago not working sir.. arguments are wrong type, are out of acceptable range, or are in conflict with one another 0 0 Share