syntax error
Visual Basic
3
Posts
2
Posters
0
Views
1
Watching
-
can anyone tell me how to correct this SQL Query "SELECT DISTINCT * from Pupils WHERE Surname LIKE% '" & tbSearch.Text & "' " Syntax error in query expression 'Surname LIKE% 'Lowndes''. trying to search for data using tbSearch as the search criteria
-
can anyone tell me how to correct this SQL Query "SELECT DISTINCT * from Pupils WHERE Surname LIKE% '" & tbSearch.Text & "' " Syntax error in query expression 'Surname LIKE% 'Lowndes''. trying to search for data using tbSearch as the search criteria
"SELECT DISTINCT * from Pupils WHERE Surname LIKE '%" & tbSearch.Text & "' "
-
"SELECT DISTINCT * from Pupils WHERE Surname LIKE '%" & tbSearch.Text & "' "
thank you