Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with LIKE
Message
 
To
05/02/2006 10:08:19
Fabian Borghi
Xenon Information Technology
Itaparica, Brazil
General information
Forum:
Visual Basic
Category:
Access
Miscellaneous
Thread ID:
01093777
Message ID:
01093778
Views:
26
You need to put the wildcard before the value too:
"Select * from livros where autor like '*" & request.Form("texto") & "*'"
>Hi !!:
>I have a little problem , i try to make a query over a Access database SQLCons = "Select * from livros where autor like '" & request.Form("texto") & "*'"
>
>In this case request.Form("texto") = "Assis" and a name in the table is "Machado de Assis" too, and i no have any result.
>How can i make this query ?
>
>Thanks in advance !!!
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Reply
Map
View

Click here to load this message in the networking platform