I've found my stupid error: the really code that I have in my movie is: query = "SELECT RecID, * FROM Students\ WHERE " && gSearchField && " = '" & searchString & "'" and finally I've see that the my mistake is at the end of first line (I forget the space after students!) Thanks to Peter for very useful help. Paolo